Uses of Class
com.nimbusds.oauth2.sdk.auth.Secret
-
Packages that use Secret Package Description com.nimbusds.oauth2.sdk Classes for representing, serialising and parsing core OAuth 2.0 concepts.com.nimbusds.oauth2.sdk.assertions.jwt JWT bearer assertions.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.ciba OpenID Connect Client Initiated Backchannel Authentication (CIBA) Flow - Core 1.0 classes.com.nimbusds.oauth2.sdk.client OAuth 2.0 dynamic client registration.com.nimbusds.oauth2.sdk.jarm JWT Secured Authorization Response Mode for OAuth 2.0 (JARM) utilities.com.nimbusds.oauth2.sdk.jose JavaScript Object Signing and Encryption (JOSE) utilities.com.nimbusds.oauth2.sdk.pkce Proof Key for Code Exchange (PKCE) classes.com.nimbusds.openid.connect.sdk.rp OpenID Connect Relying Party (RP) classes.com.nimbusds.openid.connect.sdk.validators 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 Secret Modifier and Type Method Description Secret
ResourceOwnerPasswordCredentialsGrant. getPassword()
Gets the resource owner's password.Constructors in com.nimbusds.oauth2.sdk with parameters of type Secret Constructor Description ResourceOwnerPasswordCredentialsGrant(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 Secret Modifier and Type Method Description static 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 Secret Modifier and Type Method Description Secret
PlainClientSecret. getClientSecret()
Gets the client secret.Methods in com.nimbusds.oauth2.sdk.auth with parameters of type Secret Modifier and Type Method Description boolean
Secret. equalsSHA256Based(Secret other)
Deprecated.Constructors in com.nimbusds.oauth2.sdk.auth with parameters of type Secret Constructor Description ClientSecretBasic(ClientID clientID, Secret secret)
Creates a new client secret basic authentication.ClientSecretJWT(ClientID clientID, URI endpoint, com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, Secret clientSecret)
Creates a new client secret JWT authentication.ClientSecretJWT(Issuer iss, ClientID clientID, URI endpoint, 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.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 Secret Modifier and Type Method Description List<Secret>
ClientCredentialsSelector. 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 Secret Modifier and Type Method Description Secret
CIBARequest. 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 Secret Modifier and Type Method Description CIBARequest.Builder
CIBARequest.Builder. userCode(Secret userCode)
Gets 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 Secret Constructor Description CIBARequest(URI uri, 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)
Creates a new CIBA request.CIBARequest(URI uri, 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 uri, 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 Secret Modifier and Type Method Description Secret
ClientUpdateRequest. getClientSecret()
Gets the client secret.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 Secret Constructor Description ClientInformation(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 uri, 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 Secret Constructor Description JARMValidator(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 Secret Modifier and Type Method Description static 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 Modifier and Type Class Description class
CodeVerifier
Authorisation code verifier. -
Uses of Secret in com.nimbusds.openid.connect.sdk.rp
Constructors in com.nimbusds.openid.connect.sdk.rp with parameters of type Secret Constructor Description OIDCClientInformation(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 uri, 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 Secret Constructor Description IDTokenValidator(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.
-