Uses of Class
com.nimbusds.oauth2.sdk.auth.Secret
Packages that use Secret
Package
Description
Classes for representing, serialising and parsing core OAuth 2.0 concepts.
JWT bearer assertions.
Implementations of OAuth 2.0 client authentication methods at the Token
endpoint.
Client authentication verifier framework.
OpenID Connect Client Initiated Backchannel Authentication (CIBA) Flow -
Core 1.0 classes.
OAuth 2.0 dynamic client registration.
JWT Secured Authorization Response Mode for OAuth 2.0 (JARM) utilities.
JavaScript Object Signing and Encryption (JOSE) utilities.
Proof Key for Code Exchange (PKCE) classes.
OpenID Connect Relying Party (RP) classes.
Client-side OpenID Connect ID token, access token and authorisation code
validators.
-
Uses of Secret in com.nimbusds.oauth2.sdk
Methods in com.nimbusds.oauth2.sdk that return SecretModifier and TypeMethodDescriptionResourceOwnerPasswordCredentialsGrant.getPassword()
Gets the resource owner's password.Constructors in com.nimbusds.oauth2.sdk with parameters of type SecretModifierConstructorDescriptionResourceOwnerPasswordCredentialsGrant
(String username, Secret password) Creates a new resource owner password credentials grant. -
Uses of Secret in com.nimbusds.oauth2.sdk.assertions.jwt
Methods in com.nimbusds.oauth2.sdk.assertions.jwt with parameters of type SecretModifier and TypeMethodDescriptionstatic com.nimbusds.jwt.SignedJWT
JWTAssertionFactory.create
(JWTAssertionDetails details, com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, Secret secret) Creates a new HMAC-protected JWT bearer assertion. -
Uses of Secret in com.nimbusds.oauth2.sdk.auth
Methods in com.nimbusds.oauth2.sdk.auth that return SecretMethods in com.nimbusds.oauth2.sdk.auth with parameters of type SecretConstructors in com.nimbusds.oauth2.sdk.auth with parameters of type SecretModifierConstructorDescriptionClientSecretBasic
(ClientID clientID, Secret secret) Creates a new client secret basic authentication.ClientSecretJWT
(ClientID clientID, URI audience, com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, Secret clientSecret) Creates a new client secret JWT authentication.ClientSecretJWT
(Issuer iss, ClientID clientID, URI audience, com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, Secret clientSecret) Creates a new client secret JWT authentication.ClientSecretPost
(ClientID clientID, Secret secret) Creates a new client secret post authentication.protected
PlainClientSecret
(ClientAuthenticationMethod method, ClientID clientID, Secret secret) Creates a new plain secret based client authentication. -
Uses of Secret in com.nimbusds.oauth2.sdk.auth.verifier
Methods in com.nimbusds.oauth2.sdk.auth.verifier that return types with arguments of type SecretModifier and TypeMethodDescriptionClientCredentialsSelector.selectClientSecrets
(ClientID claimedClientID, ClientAuthenticationMethod authMethod, Context<T> context) Selects one or more client secret candidates forclient_secret_basic
,client_secret_post
andclient_secret_jwt
authentication. -
Uses of Secret in com.nimbusds.oauth2.sdk.ciba
Methods in com.nimbusds.oauth2.sdk.ciba that return SecretModifier and TypeMethodDescriptionCIBARequest.getUserCode()
Returns the user secret code (password, PIN, etc.) to authorise the CIBA request with the authentication device.Methods in com.nimbusds.oauth2.sdk.ciba with parameters of type SecretModifier and TypeMethodDescriptionGets the user secret code (password, PIN, etc.) to authorise the CIBA request with the authentication device.Constructors in com.nimbusds.oauth2.sdk.ciba with parameters of type SecretModifierConstructorDescriptionCIBARequest
(URI endpoint, ClientAuthentication clientAuth, Scope scope, BearerAccessToken clientNotificationToken, List<ACR> acrValues, LoginHintToken loginHintToken, com.nimbusds.jwt.JWT idTokenHint, String loginHint, String bindingMessage, Secret userCode, Integer requestedExpiry, OIDCClaimsRequest claims, List<com.nimbusds.langtag.LangTag> claimsLocales, String purpose, List<AuthorizationDetail> authorizationDetails, List<URI> resources, net.minidev.json.JSONObject requestContext, Map<String, List<String>> customParams) Creates a new CIBA request.CIBARequest
(URI endpoint, ClientAuthentication clientAuth, Scope scope, BearerAccessToken clientNotificationToken, List<ACR> acrValues, String loginHintTokenString, com.nimbusds.jwt.JWT idTokenHint, String loginHint, String bindingMessage, Secret userCode, Integer requestedExpiry, OIDCClaimsRequest claims, List<com.nimbusds.langtag.LangTag> claimsLocales, String purpose, List<AuthorizationDetail> authorizationDetails, List<URI> resources, Map<String, List<String>> customParams) Deprecated.CIBARequest
(URI endpoint, ClientAuthentication clientAuth, Scope scope, BearerAccessToken clientNotificationToken, List<ACR> acrValues, String loginHintTokenString, com.nimbusds.jwt.JWT idTokenHint, String loginHint, String bindingMessage, Secret userCode, Integer requestedExpiry, OIDCClaimsRequest claims, List<com.nimbusds.langtag.LangTag> claimsLocales, String purpose, List<URI> resources, Map<String, List<String>> customParams) Deprecated.CIBARequest
(URI endpoint, ClientAuthentication clientAuth, Scope scope, BearerAccessToken clientNotificationToken, List<ACR> acrValues, String loginHintTokenString, com.nimbusds.jwt.JWT idTokenHint, String loginHint, String bindingMessage, Secret userCode, Integer requestedExpiry, OIDCClaimsRequest claims, Map<String, List<String>> customParams) Deprecated.CIBARequest
(URI endpoint, ClientAuthentication clientAuth, Scope scope, BearerAccessToken clientNotificationToken, List<ACR> acrValues, String loginHintTokenString, com.nimbusds.jwt.JWT idTokenHint, String loginHint, String bindingMessage, Secret userCode, Integer requestedExpiry, Map<String, List<String>> customParams) Deprecated. -
Uses of Secret in com.nimbusds.oauth2.sdk.client
Methods in com.nimbusds.oauth2.sdk.client that return SecretModifier and TypeMethodDescriptionClientUpdateRequest.getClientSecret()
Gets the client secret.ClientInformation.getSecret()
Gets the client secret.static Secret
ClientCredentialsParser.parseSecret
(net.minidev.json.JSONObject jsonObject) Parses a client secret from the specified JSON object.Constructors in com.nimbusds.oauth2.sdk.client with parameters of type SecretModifierConstructorDescriptionClientInformation
(ClientID id, Date issueDate, ClientMetadata metadata, Secret secret) Creates a new client information instance.ClientInformation
(ClientID id, Date issueDate, ClientMetadata metadata, Secret secret, URI registrationURI, BearerAccessToken accessToken) Creates a new client information instance permitting dynamic client registration management.ClientUpdateRequest
(URI endpoint, ClientID id, BearerAccessToken accessToken, ClientMetadata metadata, Secret secret) Creates a new client update request. -
Uses of Secret in com.nimbusds.oauth2.sdk.jarm
Constructors in com.nimbusds.oauth2.sdk.jarm with parameters of type SecretModifierConstructorDescriptionJARMValidator
(Issuer expectedIssuer, ClientID clientID, com.nimbusds.jose.JWSAlgorithm expectedJWSAlg, Secret clientSecret) Creates a new JARM validator for HMAC protected authorisation responses. -
Uses of Secret in com.nimbusds.oauth2.sdk.jose
Methods in com.nimbusds.oauth2.sdk.jose with parameters of type SecretModifier and TypeMethodDescriptionstatic SecretKey
SecretKeyDerivation.deriveSecretKey
(Secret clientSecret, int bits) Derives a secret encryption key from the specified client secret.static SecretKey
SecretKeyDerivation.deriveSecretKey
(Secret clientSecret, com.nimbusds.jose.JWEAlgorithm alg, com.nimbusds.jose.EncryptionMethod enc) Derives a secret encryption key from the specified client secret. -
Uses of Secret in com.nimbusds.oauth2.sdk.pkce
Subclasses of Secret in com.nimbusds.oauth2.sdk.pkce -
Uses of Secret in com.nimbusds.openid.connect.sdk.rp
Constructors in com.nimbusds.openid.connect.sdk.rp with parameters of type SecretModifierConstructorDescriptionOIDCClientInformation
(ClientID id, Date issueDate, OIDCClientMetadata metadata, Secret secret) Creates a new OpenID Connect client information instance.OIDCClientInformation
(ClientID id, Date issueDate, OIDCClientMetadata metadata, Secret secret, URI registrationURI, BearerAccessToken accessToken) Creates a new OpenID Connect client information instance permitting dynamic client registration management.OIDCClientUpdateRequest
(URI endpoint, ClientID id, BearerAccessToken accessToken, OIDCClientMetadata metadata, Secret secret) Creates a new OpenID Connect client update request. -
Uses of Secret in com.nimbusds.openid.connect.sdk.validators
Constructors in com.nimbusds.openid.connect.sdk.validators with parameters of type SecretModifierConstructorDescriptionIDTokenValidator
(Issuer expectedIssuer, ClientID clientID, com.nimbusds.jose.JWSAlgorithm expectedJWSAlg, Secret clientSecret) Creates a new validator for HMAC protected ID tokens.LogoutTokenValidator
(Issuer expectedIssuer, ClientID clientID, com.nimbusds.jose.JWSAlgorithm expectedJWSAlg, Secret clientSecret) Creates a new validator for HMAC protected logout tokens.