Package | Description |
---|---|
com.nimbusds.oauth2.sdk.as |
OAuth 2.0 Authorisation Server (AS) classes.
|
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.
|
Modifier and Type | Method and Description |
---|---|
List<ClientAuthenticationMethod> |
AuthorizationServerMetadata.getIntrospectionEndpointAuthMethods()
Gets the supported introspection endpoint authentication methods.
|
List<ClientAuthenticationMethod> |
AuthorizationServerMetadata.getRevocationEndpointAuthMethods()
Gets the supported revocation endpoint authentication methods.
|
List<ClientAuthenticationMethod> |
AuthorizationServerMetadata.getTokenEndpointAuthMethods()
Gets the supported token endpoint authentication methods.
|
Modifier and Type | Method and Description |
---|---|
void |
AuthorizationServerMetadata.setIntrospectionEndpointAuthMethods(List<ClientAuthenticationMethod> authMethods)
Sets the supported introspection endpoint authentication methods.
|
void |
AuthorizationServerMetadata.setRevocationEndpointAuthMethods(List<ClientAuthenticationMethod> authMethods)
Sets the supported revocation endpoint authentication methods.
|
void |
AuthorizationServerMetadata.setTokenEndpointAuthMethods(List<ClientAuthenticationMethod> authMethods)
Sets the supported token endpoint authentication methods.
|
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).
|
static ClientAuthenticationMethod |
ClientAuthenticationMethod.SELF_SIGNED_TLS_CLIENT_AUTH
Self-signed certificate mutual TLS OAuth client authentication.
|
static ClientAuthenticationMethod |
ClientAuthenticationMethod.TLS_CLIENT_AUTH
PKI mutual TLS OAuth client authentication.
|
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(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 |
---|---|
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. |
List<? extends PublicKey> |
ClientCredentialsSelector.selectPublicKeys(ClientID claimedClientID,
ClientAuthenticationMethod authMethod,
com.nimbusds.jose.JWSHeader jwsHeader,
boolean forceRefresh,
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.
|
Copyright © 2018 Connect2id Ltd.. All rights reserved.