Package | Description |
---|---|
com.nimbusds.oauth2.sdk.auth |
Implementations of OAuth 2.0 client authentication methods at the Token
endpoint.
|
com.nimbusds.oauth2.sdk.auth.verifier |
Client authentication verifier framework.
|
com.nimbusds.oauth2.sdk.client |
OAuth 2.0 dynamic client registration.
|
com.nimbusds.openid.connect.sdk.op |
OpenID Connect Provider (OP) classes.
|
Modifier and Type | Field and Description |
---|---|
static ClientAuthenticationMethod |
ClientAuthenticationMethod.CLIENT_SECRET_BASIC
Clients that have received a client secret from the authorisation
server authenticate with the authorisation server in accordance with
section 3.2.1 of OAuth 2.0 using HTTP Basic authentication.
|
static ClientAuthenticationMethod |
ClientAuthenticationMethod.CLIENT_SECRET_JWT
Clients that have received a client secret from the authorisation
server, create a JWT using an HMAC SHA algorithm, such as HMAC
SHA-256.
|
static ClientAuthenticationMethod |
ClientAuthenticationMethod.CLIENT_SECRET_POST
Clients that have received a client secret from the authorisation
server authenticate with the authorisation server in accordance with
section 3.2.1 of OAuth 2.0 by including the client credentials in
the request body.
|
static ClientAuthenticationMethod |
ClientAuthenticationMethod.NONE
The client is a public client as defined in OAuth 2.0 and does not
have a client secret.
|
static ClientAuthenticationMethod |
ClientAuthenticationMethod.PRIVATE_KEY_JWT
Clients that have registered a public key sign a JWT using the RSA
algorithm if a RSA key was registered or the ECDSA algorithm if an
Elliptic Curve key was registered (see JWA for the algorithm
identifiers).
|
Modifier and Type | Method and Description |
---|---|
static ClientAuthenticationMethod |
ClientAuthenticationMethod.getDefault()
Gets the default client authentication method.
|
ClientAuthenticationMethod |
ClientAuthentication.getMethod()
Gets the client authentication method.
|
static ClientAuthenticationMethod |
ClientAuthenticationMethod.parse(java.lang.String value)
Parses a client authentication method from the specified value.
|
Constructor and Description |
---|
ClientAuthentication(ClientAuthenticationMethod method,
ClientID clientID)
Creates a new abstract client authentication.
|
JWTAuthentication(ClientAuthenticationMethod method,
com.nimbusds.jwt.SignedJWT clientAssertion)
Creates a new JSON Web Token (JWT) based client authentication.
|
PlainClientSecret(ClientAuthenticationMethod method,
ClientID clientID,
Secret secret)
Creates a new plain secret based client authentication.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Secret> |
ClientCredentialsSelector.selectClientSecrets(ClientID claimedClientID,
ClientAuthenticationMethod authMethod,
Context<T> context)
Selects one or more client secret candidates for
client_secret_basic ,
client_secret_post and
client_secret_jwt
authentication. |
java.util.List<? extends java.security.PublicKey> |
ClientCredentialsSelector.selectPublicKeys(ClientID claimedClientID,
ClientAuthenticationMethod authMethod,
com.nimbusds.jose.JWSHeader jwsHeader,
Context<T> context)
Selects one or more public key candidates (e.g.
|
Modifier and Type | Method and Description |
---|---|
ClientAuthenticationMethod |
ClientMetadata.getTokenEndpointAuthMethod()
Gets the Token endpoint authentication method.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientMetadata.setTokenEndpointAuthMethod(ClientAuthenticationMethod authMethod)
Sets the Token endpoint authentication method.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ClientAuthenticationMethod> |
OIDCProviderMetadata.getTokenEndpointAuthMethods()
Gets the supported token endpoint authentication methods.
|
Modifier and Type | Method and Description |
---|---|
void |
OIDCProviderMetadata.setTokenEndpointAuthMethods(java.util.List<ClientAuthenticationMethod> tokenEndpointAuthMethods)
Sets the supported token endpoint authentication methods.
|
Copyright © 2016 Connect2id Ltd.. All Rights Reserved.