Class OAuth2ClientAuthenticationContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.oidc.authn.context.OAuth2ClientAuthenticationContext
- All Implemented Interfaces:
Iterable<BaseContext>
A context containing data about OAuth 2.0 client authentication.
Currently implemented using Nimbus APIs.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator, BaseContext.DeprecatedContextClassNameLookAside -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.nimbusds.oauth2.sdk.auth.ClientAuthenticationClient authentication abstraction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.nimbusds.oauth2.sdk.auth.ClientAuthenticationGet the OAuth 2 client authentication credentials.setClientAuthentication(com.nimbusds.oauth2.sdk.auth.ClientAuthentication creds) Set the OAuth 2 client authentication credentials.Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, ensureSubcontext, ensureSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeFromParent, removeSubcontext, removeSubcontext, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
clientAuthentication
@Nullable private com.nimbusds.oauth2.sdk.auth.ClientAuthentication clientAuthenticationClient authentication abstraction.
-
-
Constructor Details
-
OAuth2ClientAuthenticationContext
public OAuth2ClientAuthenticationContext()
-
-
Method Details
-
getClientAuthentication
@Nullable public com.nimbusds.oauth2.sdk.auth.ClientAuthentication getClientAuthentication()Get the OAuth 2 client authentication credentials.- Returns:
- client authentication credentials
-
setClientAuthentication
@Nonnull public OAuth2ClientAuthenticationContext setClientAuthentication(@Nullable com.nimbusds.oauth2.sdk.auth.ClientAuthentication creds) Set the OAuth 2 client authentication credentials.- Parameters:
creds- client authentication credentials- Returns:
- this context
-