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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the OAuth 2 client authentication credentials.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
Client authentication abstraction.
-
-
Constructor Details
-
OAuth2ClientAuthenticationContext
public OAuth2ClientAuthenticationContext()
-
-
Method Details
-
getClientAuthentication
Get the OAuth 2 client authentication credentials.- Returns:
- client authentication credentials
-
setClientAuthentication
@Nonnull public OAuth2ClientAuthenticationContext setClientAuthentication(@Nullable ClientAuthentication creds) Set the OAuth 2 client authentication credentials.- Parameters:
creds- client authentication credentials- Returns:
- this context
-