Class OAuth2ClientAuthenticationContext
- java.lang.Object
-
- org.opensaml.messaging.context.BaseContext
-
- net.shibboleth.oidc.authn.context.OAuth2ClientAuthenticationContext
-
- All Implemented Interfaces:
Iterable<BaseContext>
public final class OAuth2ClientAuthenticationContext extends 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
-
-
Field Summary
Fields Modifier and Type Field Description private com.nimbusds.oauth2.sdk.auth.ClientAuthenticationclientAuthenticationClient authentication abstraction.
-
Constructor Summary
Constructors Constructor Description OAuth2ClientAuthenticationContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.nimbusds.oauth2.sdk.auth.ClientAuthenticationgetClientAuthentication()Get the OAuth 2 client authentication credentials.OAuth2ClientAuthenticationContextsetClientAuthentication(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, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeSubcontext, removeSubcontext, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
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
-
-