Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractOAuth2Token - Class in org.springframework.security.oauth2.core
-
Base class for OAuth 2.0 Token implementations.
- AbstractOAuth2Token(String) - Constructor for class org.springframework.security.oauth2.core.AbstractOAuth2Token
-
Sub-class constructor.
- AbstractOAuth2Token(String, Instant, Instant) - Constructor for class org.springframework.security.oauth2.core.AbstractOAuth2Token
-
Sub-class constructor.
- ACCESS_DENIED - Static variable in class org.springframework.security.oauth2.core.OAuth2ErrorCodes
-
access_denied
- The resource owner or authorization server denied the request. - ACCESS_TOKEN - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
access_token
- used in Authorization Response and Access Token Response. - accessTokenHash(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Use this access token hash in the resulting
OidcIdToken
- ACR - Static variable in class org.springframework.security.oauth2.core.oidc.IdTokenClaimNames
-
acr
- the Authentication Context Class Reference - ACTIVE - Static variable in class org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimNames
-
active
- Indicator whether or not the token is currently active - addConverters(ConverterRegistry) - Static method in class org.springframework.security.oauth2.core.converter.ClaimConversionService
-
Adds the converters that provide type conversion for claim values to the provided
ConverterRegistry
. - additionalParameters(Consumer<Map<String, Object>>) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest.Builder
-
A
Consumer
to be provided access to the additional parameter(s) allowing the ability to add, replace, or remove. - additionalParameters(Map<String, Object>) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse.Builder
-
Sets the additional parameters returned in the response.
- additionalParameters(Map<String, Object>) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest.Builder
-
Sets the additional parameter(s) used in the request.
- address(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this address in the resulting
OidcUserInfo
- ADDRESS - Static variable in class org.springframework.security.oauth2.core.oidc.OidcScopes
-
The
address
scope requests access to theaddress
claim. - ADDRESS - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
address
- the user's preferred postal address - AddressStandardClaim - Interface in org.springframework.security.oauth2.core.oidc
-
The Address Claim represents a physical mailing address defined by the OpenID Connect Core 1.0 specification that can be returned either in the UserInfo Response or the ID Token.
- AMR - Static variable in class org.springframework.security.oauth2.core.oidc.IdTokenClaimNames
-
amr
- the Authentication Methods References - ASSERTION - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
assertion
- used in Access Token Request. - AT_HASH - Static variable in class org.springframework.security.oauth2.core.oidc.IdTokenClaimNames
-
at_hash
- the Access Token hash value - attributes(Consumer<Map<String, Object>>) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest.Builder
-
A
Consumer
to be provided access to the attribute(s) allowing the ability to add, replace, or remove. - attributes(Map<String, Object>) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest.Builder
-
Sets the attributes associated to the request.
- AUD - Static variable in class org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimNames
-
aud
- The intended audience for the token - AUD - Static variable in class org.springframework.security.oauth2.core.oidc.IdTokenClaimNames
-
aud
- the Audience(s) that the ID Token is intended for - audience(Collection<String>) - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Use this audience in the resulting
OidcIdToken
- AUTH_TIME - Static variable in class org.springframework.security.oauth2.core.oidc.IdTokenClaimNames
-
auth_time
- the time when the End-User authentication occurred - authenticationContextClass(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Use this authentication context class reference in the resulting
OidcIdToken
- AuthenticationMethod - Class in org.springframework.security.oauth2.core
-
The authentication method used when sending bearer access tokens in resource requests to resource servers.
- AuthenticationMethod(String) - Constructor for class org.springframework.security.oauth2.core.AuthenticationMethod
-
Constructs an
AuthenticationMethod
using the provided value. - authenticationMethods(List<String>) - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Use these authentication methods in the resulting
OidcIdToken
- AUTHORIZATION_CODE - Static variable in class org.springframework.security.oauth2.core.AuthorizationGrantType
- authorizationCode() - Static method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest
-
Returns a new
OAuth2AuthorizationRequest.Builder
, initialized with the authorization code grant type. - authorizationCodeHash(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Use this authorization code hash in the resulting
OidcIdToken
- AuthorizationGrantType - Class in org.springframework.security.oauth2.core
-
An authorization grant is a credential representing the resource owner's authorization (to access it's protected resources) to the client and used by the client to obtain an access token.
- AuthorizationGrantType(String) - Constructor for class org.springframework.security.oauth2.core.AuthorizationGrantType
-
Constructs an
AuthorizationGrantType
using the provided value. - authorizationRequestUri(String) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest.Builder
-
Sets the
URI
string representation of the OAuth 2.0 Authorization Request. - authorizationRequestUri(Function<UriBuilder, URI>) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest.Builder
-
A
Function
to be provided aUriBuilder
representation of the OAuth 2.0 Authorization Request allowing for further customizations. - authorizationUri(String) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest.Builder
-
Sets the uri for the authorization endpoint.
- authorizedParty(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Use this authorized party in the resulting
OidcIdToken
- authTime(Instant) - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Use this authentication
Instant
in the resultingOidcIdToken
- AZP - Static variable in class org.springframework.security.oauth2.core.oidc.IdTokenClaimNames
-
azp
- the Authorized party to which the ID Token was issued
B
- BEARER - Static variable in class org.springframework.security.oauth2.core.OAuth2AccessToken.TokenType
- birthdate(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this birthdate in the resulting
OidcUserInfo
- BIRTHDATE - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
birthdate
- the user's birth date - build() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse.Builder
-
Builds a new
OAuth2AccessTokenResponse
. - build() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest.Builder
-
Builds a new
OAuth2AuthorizationRequest
. - build() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponse.Builder
-
Builds a new
OAuth2AuthorizationResponse
. - build() - Method in class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim.Builder
-
Builds a new
DefaultAddressStandardClaim
. - build() - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Build the
OidcIdToken
- build() - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Build the
OidcUserInfo
- builder() - Static method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo
-
Create a
OidcUserInfo.Builder
- Builder() - Constructor for class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim.Builder
-
Default constructor.
- Builder(Map<String, Object>) - Constructor for class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim.Builder
-
Constructs and initializes the address attributes using the provided
addressFields
.
C
- C_HASH - Static variable in class org.springframework.security.oauth2.core.oidc.IdTokenClaimNames
-
c_hash
- the Authorization Code hash value - claim(String, Object) - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Use this claim in the resulting
OidcIdToken
- claim(String, Object) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this claim in the resulting
OidcUserInfo
- ClaimAccessor - Interface in org.springframework.security.oauth2.core
-
An "accessor" for a set of claims that may be used for assertions.
- ClaimConversionService - Class in org.springframework.security.oauth2.core.converter
-
A
ConversionService
configured with converters that provide type conversion for claim values. - claims(Consumer<Map<String, Object>>) - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Provides access to every
OidcIdToken.Builder.claim(String, Object)
declared so far with the possibility to add, replace, or remove. - claims(Consumer<Map<String, Object>>) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Provides access to every
OidcUserInfo.Builder.claim(String, Object)
declared so far with the possibility to add, replace, or remove. - ClaimTypeConverter - Class in org.springframework.security.oauth2.core.converter
-
A
Converter
that provides type conversion for claim values. - ClaimTypeConverter(Map<String, Converter<Object, ?>>) - Constructor for class org.springframework.security.oauth2.core.converter.ClaimTypeConverter
-
Constructs a
ClaimTypeConverter
using the provided parameters. - CLIENT_ASSERTION - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
client_assertion
- used in Access Token Request. - CLIENT_ASSERTION_TYPE - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
client_assertion_type
- used in Access Token Request. - CLIENT_CREDENTIALS - Static variable in class org.springframework.security.oauth2.core.AuthorizationGrantType
- CLIENT_ID - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
client_id
- used in Authorization Request and Access Token Request. - CLIENT_ID - Static variable in class org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimNames
-
client_id
- The Client identifier for the token - CLIENT_SECRET - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
client_secret
- used in Access Token Request. - CLIENT_SECRET_BASIC - Static variable in class org.springframework.security.oauth2.core.ClientAuthenticationMethod
- CLIENT_SECRET_JWT - Static variable in class org.springframework.security.oauth2.core.ClientAuthenticationMethod
- CLIENT_SECRET_POST - Static variable in class org.springframework.security.oauth2.core.ClientAuthenticationMethod
- ClientAuthenticationMethod - Class in org.springframework.security.oauth2.core
-
The authentication method used when authenticating the client with the authorization server.
- ClientAuthenticationMethod(String) - Constructor for class org.springframework.security.oauth2.core.ClientAuthenticationMethod
-
Constructs a
ClientAuthenticationMethod
using the provided value. - clientId(String) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest.Builder
-
Sets the client identifier.
- code(String) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponse.Builder
-
Sets the authorization code.
- CODE - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponseType
- CODE - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
code
- used in Authorization Response and Access Token Request. - CODE_CHALLENGE - Static variable in class org.springframework.security.oauth2.core.endpoint.PkceParameterNames
-
code_challenge
- used in Authorization Request. - CODE_CHALLENGE_METHOD - Static variable in class org.springframework.security.oauth2.core.endpoint.PkceParameterNames
-
code_challenge_method
- used in Authorization Request. - CODE_VERIFIER - Static variable in class org.springframework.security.oauth2.core.endpoint.PkceParameterNames
-
code_verifier
- used in Token Request. - convert(Map<String, Object>) - Method in class org.springframework.security.oauth2.core.converter.ClaimTypeConverter
- convert(Map<String, Object>) - Method in class org.springframework.security.oauth2.core.endpoint.DefaultMapOAuth2AccessTokenResponseConverter
- convert(OAuth2AccessTokenResponse) - Method in class org.springframework.security.oauth2.core.endpoint.DefaultOAuth2AccessTokenResponseMapConverter
- country(String) - Method in class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim.Builder
-
Sets the country.
D
- DefaultAddressStandardClaim - Class in org.springframework.security.oauth2.core.oidc
-
The default implementation of an
Address Claim
. - DefaultAddressStandardClaim.Builder - Class in org.springframework.security.oauth2.core.oidc
-
A builder for
DefaultAddressStandardClaim
. - DefaultMapOAuth2AccessTokenResponseConverter - Class in org.springframework.security.oauth2.core.endpoint
-
A
Converter
that converts the provided OAuth 2.0 Access Token Response parameters to anOAuth2AccessTokenResponse
. - DefaultMapOAuth2AccessTokenResponseConverter() - Constructor for class org.springframework.security.oauth2.core.endpoint.DefaultMapOAuth2AccessTokenResponseConverter
- DefaultOAuth2AccessTokenResponseMapConverter - Class in org.springframework.security.oauth2.core.endpoint
-
A
Converter
that converts the providedOAuth2AccessTokenResponse
to aMap
representation of the OAuth 2.0 Access Token Response parameters. - DefaultOAuth2AccessTokenResponseMapConverter() - Constructor for class org.springframework.security.oauth2.core.endpoint.DefaultOAuth2AccessTokenResponseMapConverter
- DefaultOAuth2AuthenticatedPrincipal - Class in org.springframework.security.oauth2.core
-
A domain object that wraps the attributes of an OAuth 2.0 token.
- DefaultOAuth2AuthenticatedPrincipal(String, Map<String, Object>, Collection<GrantedAuthority>) - Constructor for class org.springframework.security.oauth2.core.DefaultOAuth2AuthenticatedPrincipal
-
Constructs an
DefaultOAuth2AuthenticatedPrincipal
using the provided parameters. - DefaultOAuth2AuthenticatedPrincipal(Map<String, Object>, Collection<GrantedAuthority>) - Constructor for class org.springframework.security.oauth2.core.DefaultOAuth2AuthenticatedPrincipal
-
Constructs an
DefaultOAuth2AuthenticatedPrincipal
using the provided parameters. - DefaultOAuth2User - Class in org.springframework.security.oauth2.core.user
-
The default implementation of an
OAuth2User
. - DefaultOAuth2User(Collection<? extends GrantedAuthority>, Map<String, Object>, String) - Constructor for class org.springframework.security.oauth2.core.user.DefaultOAuth2User
-
Constructs a
DefaultOAuth2User
using the provided parameters. - DefaultOidcUser - Class in org.springframework.security.oauth2.core.oidc.user
-
The default implementation of an
OidcUser
. - DefaultOidcUser(Collection<? extends GrantedAuthority>, OidcIdToken) - Constructor for class org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser
-
Constructs a
DefaultOidcUser
using the provided parameters. - DefaultOidcUser(Collection<? extends GrantedAuthority>, OidcIdToken, String) - Constructor for class org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser
-
Constructs a
DefaultOidcUser
using the provided parameters. - DefaultOidcUser(Collection<? extends GrantedAuthority>, OidcIdToken, OidcUserInfo) - Constructor for class org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser
-
Constructs a
DefaultOidcUser
using the provided parameters. - DefaultOidcUser(Collection<? extends GrantedAuthority>, OidcIdToken, OidcUserInfo, String) - Constructor for class org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser
-
Constructs a
DefaultOidcUser
using the provided parameters. - DelegatingOAuth2TokenValidator<T extends OAuth2Token> - Class in org.springframework.security.oauth2.core
-
A composite validator
- DelegatingOAuth2TokenValidator(Collection<OAuth2TokenValidator<T>>) - Constructor for class org.springframework.security.oauth2.core.DelegatingOAuth2TokenValidator
-
Constructs a
DelegatingOAuth2TokenValidator
using the provided validators. - DelegatingOAuth2TokenValidator(OAuth2TokenValidator<T>...) - Constructor for class org.springframework.security.oauth2.core.DelegatingOAuth2TokenValidator
-
Constructs a
DelegatingOAuth2TokenValidator
using the provided validators.
E
- email(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this email in the resulting
OidcUserInfo
- EMAIL - Static variable in class org.springframework.security.oauth2.core.oidc.OidcScopes
-
The
email
scope requests access to theemail
andemail_verified
claims. - EMAIL - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
email
- the user's preferred e-mail address - EMAIL_VERIFIED - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
email_verified
-true
if the user's e-mail address has been verified, otherwisefalse
- emailVerified(Boolean) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this verified-email indicator in the resulting
OidcUserInfo
- equals(Object) - Method in class org.springframework.security.oauth2.core.AbstractOAuth2Token
- equals(Object) - Method in class org.springframework.security.oauth2.core.AuthenticationMethod
- equals(Object) - Method in class org.springframework.security.oauth2.core.AuthorizationGrantType
- equals(Object) - Method in class org.springframework.security.oauth2.core.ClientAuthenticationMethod
- equals(Object) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponseType
- equals(Object) - Method in class org.springframework.security.oauth2.core.OAuth2AccessToken.TokenType
- equals(Object) - Method in class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim
- equals(Object) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo
- equals(Object) - Method in class org.springframework.security.oauth2.core.oidc.user.OidcUserAuthority
- equals(Object) - Method in class org.springframework.security.oauth2.core.user.DefaultOAuth2User
- equals(Object) - Method in class org.springframework.security.oauth2.core.user.OAuth2UserAuthority
- error(String) - Static method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponse
-
Returns a new
OAuth2AuthorizationResponse.Builder
, initialized with the error code. - ERROR - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
error
- used in Authorization Response and Access Token Response. - ERROR_DESCRIPTION - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
error_description
- used in Authorization Response and Access Token Response. - ERROR_URI - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
error_uri
- used in Authorization Response and Access Token Response. - errorCode(String) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponse.Builder
-
Sets the error code.
- errorConverter - Variable in class org.springframework.security.oauth2.core.http.converter.OAuth2ErrorHttpMessageConverter
- errorDescription(String) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponse.Builder
-
Sets the error description.
- errorParametersConverter - Variable in class org.springframework.security.oauth2.core.http.converter.OAuth2ErrorHttpMessageConverter
- errorUri(String) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponse.Builder
-
Sets the error uri.
- EXP - Static variable in class org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimNames
-
exp
- A timestamp indicating when the token expires - EXP - Static variable in class org.springframework.security.oauth2.core.oidc.IdTokenClaimNames
-
exp
- the Expiration time on or after which the ID Token MUST NOT be accepted - EXPIRES_IN - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
expires_in
- used in Authorization Response and Access Token Response. - expiresAt(Instant) - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Use this expiration in the resulting
OidcIdToken
- expiresIn(long) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse.Builder
-
Sets the lifetime (in seconds) of the access token.
F
- failure(Collection<OAuth2Error>) - Static method in class org.springframework.security.oauth2.core.OAuth2TokenValidatorResult
-
Construct a failure
OAuth2TokenValidatorResult
with the provided detail - failure(OAuth2Error...) - Static method in class org.springframework.security.oauth2.core.OAuth2TokenValidatorResult
-
Construct a failure
OAuth2TokenValidatorResult
with the provided detail - FAMILY_NAME - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
family_name
- the user's surname(s) or last name(s) - familyName(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this family name in the resulting
OidcUserInfo
- FORM - Static variable in class org.springframework.security.oauth2.core.AuthenticationMethod
- formatted(String) - Method in class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim.Builder
-
Sets the full mailing address, formatted for display.
- from(OAuth2AuthorizationRequest) - Static method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest
-
Returns a new
OAuth2AuthorizationRequest.Builder
, initialized with the values from the providedauthorizationRequest
.
G
- gender(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this gender in the resulting
OidcUserInfo
- GENDER - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
gender
- the user's gender - getAccessToken() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse
-
Returns the
Access Token
. - getAccessTokenHash() - Method in interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor
-
Returns the Access Token hash value
(at_hash)
. - getAdditionalParameters() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse
-
Returns the additional parameters returned in the response.
- getAdditionalParameters() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest
-
Returns the additional parameter(s) used in the request.
- getAddress() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the user's preferred postal address
(address)
. - getAttribute(String) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest
-
Returns the value of an attribute associated to the request.
- getAttribute(String) - Method in interface org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal
-
Get the OAuth 2.0 token attribute by name
- getAttributes() - Method in class org.springframework.security.oauth2.core.DefaultOAuth2AuthenticatedPrincipal
-
Gets the attributes of the OAuth 2.0 token in map form.
- getAttributes() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest
-
Returns the attribute(s) associated to the request.
- getAttributes() - Method in interface org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal
-
Get the OAuth 2.0 token attributes
- getAttributes() - Method in class org.springframework.security.oauth2.core.user.DefaultOAuth2User
- getAttributes() - Method in class org.springframework.security.oauth2.core.user.OAuth2UserAuthority
-
Returns the attributes about the user.
- getAudience() - Method in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
-
Returns the intended audience
(aud)
for the token - getAudience() - Method in interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor
-
Returns the Audience(s)
(aud)
that this ID Token is intended for. - getAuthenticatedAt() - Method in interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor
-
Returns the time when the End-User authentication occurred
(auth_time)
. - getAuthenticationContextClass() - Method in interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor
-
Returns the Authentication Context Class Reference
(acr)
. - getAuthenticationMethods() - Method in interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor
-
Returns the Authentication Methods References
(amr)
. - getAuthorities() - Method in class org.springframework.security.oauth2.core.DefaultOAuth2AuthenticatedPrincipal
- getAuthorities() - Method in interface org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal
-
Get the
Collection
ofGrantedAuthority
s associated with this OAuth 2.0 token - getAuthorities() - Method in class org.springframework.security.oauth2.core.user.DefaultOAuth2User
- getAuthority() - Method in class org.springframework.security.oauth2.core.user.OAuth2UserAuthority
- getAuthorizationCodeHash() - Method in interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor
-
Returns the Authorization Code hash value
(c_hash)
. - getAuthorizationRequest() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationExchange
-
Returns the
Authorization Request
. - getAuthorizationRequestUri() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest
-
Returns the
URI
string representation of the OAuth 2.0 Authorization Request. - getAuthorizationResponse() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationExchange
-
Returns the
Authorization Response
. - getAuthorizationUri() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest
-
Returns the uri for the authorization endpoint.
- getAuthorizedParty() - Method in interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor
-
Returns the Authorized party
(azp)
to which the ID Token was issued. - getBirthdate() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the user's birth date
(birthdate)
. - getClaim(String) - Method in interface org.springframework.security.oauth2.core.ClaimAccessor
-
Returns the claim value as a
T
type. - getClaimAsBoolean(String) - Method in interface org.springframework.security.oauth2.core.ClaimAccessor
-
Returns the claim value as a
Boolean
ornull
if the claim does not exist. - getClaimAsInstant(String) - Method in interface org.springframework.security.oauth2.core.ClaimAccessor
-
Returns the claim value as an
Instant
ornull
if it does not exist. - getClaimAsMap(String) - Method in interface org.springframework.security.oauth2.core.ClaimAccessor
-
Returns the claim value as a
Map<String, Object>
ornull
if the claim does not exist. - getClaimAsString(String) - Method in interface org.springframework.security.oauth2.core.ClaimAccessor
-
Returns the claim value as a
String
ornull
if it does not exist or is equal tonull
. - getClaimAsStringList(String) - Method in interface org.springframework.security.oauth2.core.ClaimAccessor
-
Returns the claim value as a
List<String>
ornull
if the claim does not exist. - getClaimAsURL(String) - Method in interface org.springframework.security.oauth2.core.ClaimAccessor
-
Returns the claim value as an
URL
ornull
if it does not exist. - getClaims() - Method in interface org.springframework.security.oauth2.core.ClaimAccessor
-
Returns a set of claims that may be used for assertions.
- getClaims() - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken
- getClaims() - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo
- getClaims() - Method in class org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser
- getClaims() - Method in interface org.springframework.security.oauth2.core.oidc.user.OidcUser
-
Returns the claims about the user.
- getClientId() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest
-
Returns the client identifier.
- getClientId() - Method in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
-
Returns the client identifier
(client_id)
for the token - getCode() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponse
-
Returns the authorization code.
- getCountry() - Method in interface org.springframework.security.oauth2.core.oidc.AddressStandardClaim
-
Returns the country.
- getCountry() - Method in class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim
- getDescription() - Method in class org.springframework.security.oauth2.core.OAuth2Error
-
Returns the error description.
- getEmail() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the user's preferred e-mail address
(email)
. - getEmailVerified() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns
true
if the user's e-mail address has been verified(email_verified)
, otherwisefalse
. - getError() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponse
-
Returns the
OAuth 2.0 Error
if the Authorization Request failed, otherwisenull
. - getError() - Method in exception org.springframework.security.oauth2.core.OAuth2AuthenticationException
-
Returns the
OAuth 2.0 Error
. - getError() - Method in exception org.springframework.security.oauth2.core.OAuth2AuthorizationException
-
Returns the
OAuth 2.0 Error
. - getErrorCode() - Method in class org.springframework.security.oauth2.core.OAuth2Error
-
Returns the error code.
- getErrors() - Method in class org.springframework.security.oauth2.core.OAuth2TokenValidatorResult
-
Return error details regarding the validation attempt
- getExpiresAt() - Method in class org.springframework.security.oauth2.core.AbstractOAuth2Token
-
Returns the expiration time on or after which the token MUST NOT be accepted.
- getExpiresAt() - Method in interface org.springframework.security.oauth2.core.OAuth2Token
-
Returns the expiration time on or after which the token MUST NOT be accepted.
- getExpiresAt() - Method in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
-
Returns a timestamp
(exp)
indicating when the token expires - getExpiresAt() - Method in interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor
-
Returns the Expiration time
(exp)
on or after which the ID Token MUST NOT be accepted. - getFamilyName() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the user's surname(s) or last name(s)
(family_name)
. - getFormatted() - Method in interface org.springframework.security.oauth2.core.oidc.AddressStandardClaim
-
Returns the full mailing address, formatted for display.
- getFormatted() - Method in class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim
- getFullName() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the user's full name
(name)
in displayable form. - getGender() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the user's gender
(gender)
. - getGivenName() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the user's given name(s) or first name(s)
(given_name)
. - getGrantType() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest
-
Returns the
grant type
. - getId() - Method in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
-
Returns the identifier
(jti)
for the token - getIdToken() - Method in class org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser
- getIdToken() - Method in interface org.springframework.security.oauth2.core.oidc.user.OidcUser
-
Returns the
ID Token
containing claims about the user. - getIdToken() - Method in class org.springframework.security.oauth2.core.oidc.user.OidcUserAuthority
-
Returns the
ID Token
containing claims about the user. - getIssuedAt() - Method in class org.springframework.security.oauth2.core.AbstractOAuth2Token
-
Returns the time at which the token was issued.
- getIssuedAt() - Method in interface org.springframework.security.oauth2.core.OAuth2Token
-
Returns the time at which the token was issued.
- getIssuedAt() - Method in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
-
Returns a timestamp
(iat)
indicating when the token was issued - getIssuedAt() - Method in interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor
-
Returns the time at which the ID Token was issued
(iat)
. - getIssuer() - Method in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
-
Returns the issuer
(iss)
of the token - getIssuer() - Method in interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor
-
Returns the Issuer identifier
(iss)
. - getLocale() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the user's locale
(locale)
. - getLocality() - Method in interface org.springframework.security.oauth2.core.oidc.AddressStandardClaim
-
Returns the city or locality.
- getLocality() - Method in class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim
- getMiddleName() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the user's middle name(s)
(middle_name)
. - getName() - Method in class org.springframework.security.oauth2.core.DefaultOAuth2AuthenticatedPrincipal
- getName() - Method in class org.springframework.security.oauth2.core.user.DefaultOAuth2User
- getNickName() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the user's nick name
(nickname)
that may or may not be the same as the(given_name)
. - getNonce() - Method in interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor
-
Returns a
String
value(nonce)
used to associate a Client session with an ID Token, and to mitigate replay attacks. - getNotBefore() - Method in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
-
Returns a timestamp
(nbf)
indicating when the token is not to be used before - getPhoneNumber() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the user's preferred phone number
(phone_number)
. - getPhoneNumberVerified() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns
true
if the user's phone number has been verified(phone_number_verified)
, otherwisefalse
. - getPicture() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the URL of the user's profile picture
(picture)
. - getPostalCode() - Method in interface org.springframework.security.oauth2.core.oidc.AddressStandardClaim
-
Returns the zip code or postal code.
- getPostalCode() - Method in class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim
- getPreferredUsername() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the preferred username
(preferred_username)
that the user wishes to be referred to. - getProfile() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the URL of the user's profile page
(profile)
. - getRedirectUri() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest
-
Returns the uri for the redirection endpoint.
- getRedirectUri() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponse
-
Returns the uri where the response was redirected to.
- getRefreshToken() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse
-
Returns the
Refresh Token
. - getRegion() - Method in interface org.springframework.security.oauth2.core.oidc.AddressStandardClaim
-
Returns the state, province, prefecture, or region.
- getRegion() - Method in class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim
- getResponseType() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest
-
Returns the
response type
. - getScopes() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest
-
Returns the scope(s).
- getScopes() - Method in class org.springframework.security.oauth2.core.OAuth2AccessToken
-
Returns the scope(s) associated to the token.
- getScopes() - Method in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
-
Returns the scopes
(scope)
associated with the token - getSharedInstance() - Static method in class org.springframework.security.oauth2.core.converter.ClaimConversionService
-
Returns a shared instance of
ClaimConversionService
. - getState() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest
-
Returns the state.
- getState() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponse
-
Returns the state.
- getStreetAddress() - Method in interface org.springframework.security.oauth2.core.oidc.AddressStandardClaim
-
Returns the full street address, which may include house number, street name, P.O.
- getStreetAddress() - Method in class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim
- getSubject() - Method in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
-
Returns usually a machine-readable identifier
(sub)
of the resource owner who authorized the token - getSubject() - Method in interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor
-
Returns the Subject identifier
(sub)
. - getSubject() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the Subject identifier
(sub)
. - getTokenType() - Method in class org.springframework.security.oauth2.core.OAuth2AccessToken
-
Returns the
token type
. - getTokenType() - Method in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
-
Returns the type of the token
(token_type)
, for examplebearer
. - getTokenValue() - Method in class org.springframework.security.oauth2.core.AbstractOAuth2Token
-
Returns the token value.
- getTokenValue() - Method in interface org.springframework.security.oauth2.core.OAuth2Token
-
Returns the token value.
- getUpdatedAt() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the time the user's information was last updated
(updated_at)
. - getUri() - Method in class org.springframework.security.oauth2.core.OAuth2Error
-
Returns the error uri.
- getUserInfo() - Method in class org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser
- getUserInfo() - Method in interface org.springframework.security.oauth2.core.oidc.user.OidcUser
-
Returns the
UserInfo
containing claims about the user. - getUserInfo() - Method in class org.springframework.security.oauth2.core.oidc.user.OidcUserAuthority
-
Returns the
UserInfo
containing claims about the user, may benull
. - getUsername() - Method in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
-
Returns a human-readable identifier
(username)
for the resource owner that authorized the token - getValue() - Method in class org.springframework.security.oauth2.core.AuthenticationMethod
-
Returns the value of the authentication method type.
- getValue() - Method in class org.springframework.security.oauth2.core.AuthorizationGrantType
-
Returns the value of the authorization grant type.
- getValue() - Method in class org.springframework.security.oauth2.core.ClientAuthenticationMethod
-
Returns the value of the client authentication method.
- getValue() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponseType
-
Returns the value of the authorization response type.
- getValue() - Method in class org.springframework.security.oauth2.core.OAuth2AccessToken.TokenType
-
Returns the value of the token type.
- getWebsite() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the URL of the user's web page or blog
(website)
. - getZoneInfo() - Method in interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
-
Returns the user's time zone
(zoneinfo)
. - GIVEN_NAME - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
given_name
- the user's given name(s) or first name(s) - givenName(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this given name in the resulting
OidcUserInfo
- GRANT_TYPE - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
grant_type
- used in Access Token Request.
H
- hasClaim(String) - Method in interface org.springframework.security.oauth2.core.ClaimAccessor
- hasErrors() - Method in class org.springframework.security.oauth2.core.OAuth2TokenValidatorResult
-
Say whether this result indicates success
- hashCode() - Method in class org.springframework.security.oauth2.core.AbstractOAuth2Token
- hashCode() - Method in class org.springframework.security.oauth2.core.AuthenticationMethod
- hashCode() - Method in class org.springframework.security.oauth2.core.AuthorizationGrantType
- hashCode() - Method in class org.springframework.security.oauth2.core.ClientAuthenticationMethod
- hashCode() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponseType
- hashCode() - Method in class org.springframework.security.oauth2.core.OAuth2AccessToken.TokenType
- hashCode() - Method in class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim
- hashCode() - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo
- hashCode() - Method in class org.springframework.security.oauth2.core.oidc.user.OidcUserAuthority
- hashCode() - Method in class org.springframework.security.oauth2.core.user.DefaultOAuth2User
- hashCode() - Method in class org.springframework.security.oauth2.core.user.OAuth2UserAuthority
- HEADER - Static variable in class org.springframework.security.oauth2.core.AuthenticationMethod
I
- IAT - Static variable in class org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimNames
-
iat
- A timestamp indicating when the token was issued - IAT - Static variable in class org.springframework.security.oauth2.core.oidc.IdTokenClaimNames
-
iat
- the time at which the ID Token was issued - ID_TOKEN - Static variable in class org.springframework.security.oauth2.core.oidc.endpoint.OidcParameterNames
-
id_token
- used in the Access Token Response. - IdTokenClaimAccessor - Interface in org.springframework.security.oauth2.core.oidc
-
A
ClaimAccessor
for the "claims" that can be returned in the ID Token, which provides information about the authentication of an End-User by an Authorization Server. - IdTokenClaimNames - Class in org.springframework.security.oauth2.core.oidc
-
The names of the "claims" defined by the OpenID Connect Core 1.0 specification that can be returned in the ID Token.
- INSUFFICIENT_SCOPE - Static variable in class org.springframework.security.oauth2.core.OAuth2ErrorCodes
-
insufficient_scope
- The request requires higher privileges than provided by the access token. - INVALID_CLIENT - Static variable in class org.springframework.security.oauth2.core.OAuth2ErrorCodes
-
invalid_client
- Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method). - INVALID_GRANT - Static variable in class org.springframework.security.oauth2.core.OAuth2ErrorCodes
-
invalid_grant
- The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client. - INVALID_REDIRECT_URI - Static variable in class org.springframework.security.oauth2.core.OAuth2ErrorCodes
-
invalid_redirect_uri
- The value of one or more redirection URIs is invalid. - INVALID_REQUEST - Static variable in class org.springframework.security.oauth2.core.OAuth2ErrorCodes
-
invalid_request
- The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. - INVALID_SCOPE - Static variable in class org.springframework.security.oauth2.core.OAuth2ErrorCodes
-
invalid_scope
- The requested scope is invalid, unknown, malformed or exceeds the scope granted by the resource owner. - INVALID_TOKEN - Static variable in class org.springframework.security.oauth2.core.OAuth2ErrorCodes
-
invalid_token
- The access token provided is expired, revoked, malformed, or invalid for other reasons. - isActive() - Method in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
-
Returns the indicator
(active)
whether or not the token is currently active - ISS - Static variable in class org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimNames
-
iss
- The issuer of the token - ISS - Static variable in class org.springframework.security.oauth2.core.oidc.IdTokenClaimNames
-
iss
- the Issuer identifier - issuedAt(Instant) - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Use this issued-at timestamp in the resulting
OidcIdToken
- issuer(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Use this issuer in the resulting
OidcIdToken
J
- JTI - Static variable in class org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimNames
-
jti
- The identifier for the token - JWT_BEARER - Static variable in class org.springframework.security.oauth2.core.AuthorizationGrantType
L
- locale(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this locale in the resulting
OidcUserInfo
- LOCALE - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
locale
- the user's locale - locality(String) - Method in class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim.Builder
-
Sets the city or locality.
M
- MIDDLE_NAME - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
middle_name
- the user's middle name(s) - middleName(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this middle name in the resulting
OidcUserInfo
N
- name(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this name in the resulting
OidcUserInfo
- NAME - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
name
- the user's full name - NBF - Static variable in class org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimNames
-
nbf
- A timestamp indicating when the token is not to be used before - nickname(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this nickname in the resulting
OidcUserInfo
- NICKNAME - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
nickname
- the user's nick name that may or may not be the same as thegiven_name
- nonce(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Use this nonce in the resulting
OidcIdToken
- NONCE - Static variable in class org.springframework.security.oauth2.core.oidc.endpoint.OidcParameterNames
-
nonce
- used in the Authentication Request. - NONCE - Static variable in class org.springframework.security.oauth2.core.oidc.IdTokenClaimNames
-
nonce
- aString
value used to associate a Client session with an ID Token, and to mitigate replay attacks. - NONE - Static variable in class org.springframework.security.oauth2.core.ClientAuthenticationMethod
O
- OAuth2AccessToken - Class in org.springframework.security.oauth2.core
-
An implementation of an
AbstractOAuth2Token
representing an OAuth 2.0 Access Token. - OAuth2AccessToken(OAuth2AccessToken.TokenType, String, Instant, Instant) - Constructor for class org.springframework.security.oauth2.core.OAuth2AccessToken
-
Constructs an
OAuth2AccessToken
using the provided parameters. - OAuth2AccessToken(OAuth2AccessToken.TokenType, String, Instant, Instant, Set<String>) - Constructor for class org.springframework.security.oauth2.core.OAuth2AccessToken
-
Constructs an
OAuth2AccessToken
using the provided parameters. - OAuth2AccessToken.TokenType - Class in org.springframework.security.oauth2.core
-
Access Token Types.
- oauth2AccessTokenResponse() - Static method in class org.springframework.security.oauth2.core.web.reactive.function.OAuth2BodyExtractors
-
Extractor to decode an
OAuth2AccessTokenResponse
- OAuth2AccessTokenResponse - Class in org.springframework.security.oauth2.core.endpoint
-
A representation of an OAuth 2.0 Access Token Response.
- OAuth2AccessTokenResponse.Builder - Class in org.springframework.security.oauth2.core.endpoint
-
A builder for
OAuth2AccessTokenResponse
. - OAuth2AccessTokenResponseHttpMessageConverter - Class in org.springframework.security.oauth2.core.http.converter
-
A
HttpMessageConverter
for anOAuth 2.0 Access Token Response
. - OAuth2AccessTokenResponseHttpMessageConverter() - Constructor for class org.springframework.security.oauth2.core.http.converter.OAuth2AccessTokenResponseHttpMessageConverter
- OAuth2AuthenticatedPrincipal - Interface in org.springframework.security.oauth2.core
-
An
AuthenticatedPrincipal
that represents the principal associated with an OAuth 2.0 token. - OAuth2AuthenticationException - Exception in org.springframework.security.oauth2.core
-
This exception is thrown for all OAuth 2.0 related
Authentication
errors. - OAuth2AuthenticationException(String) - Constructor for exception org.springframework.security.oauth2.core.OAuth2AuthenticationException
-
Constructs an
OAuth2AuthenticationException
using the provided parameters. - OAuth2AuthenticationException(OAuth2Error) - Constructor for exception org.springframework.security.oauth2.core.OAuth2AuthenticationException
-
Constructs an
OAuth2AuthenticationException
using the provided parameters. - OAuth2AuthenticationException(OAuth2Error, String) - Constructor for exception org.springframework.security.oauth2.core.OAuth2AuthenticationException
-
Constructs an
OAuth2AuthenticationException
using the provided parameters. - OAuth2AuthenticationException(OAuth2Error, String, Throwable) - Constructor for exception org.springframework.security.oauth2.core.OAuth2AuthenticationException
-
Constructs an
OAuth2AuthenticationException
using the provided parameters. - OAuth2AuthenticationException(OAuth2Error, Throwable) - Constructor for exception org.springframework.security.oauth2.core.OAuth2AuthenticationException
-
Constructs an
OAuth2AuthenticationException
using the provided parameters. - OAuth2AuthorizationException - Exception in org.springframework.security.oauth2.core
-
Base exception for OAuth 2.0 Authorization errors.
- OAuth2AuthorizationException(OAuth2Error) - Constructor for exception org.springframework.security.oauth2.core.OAuth2AuthorizationException
-
Constructs an
OAuth2AuthorizationException
using the provided parameters. - OAuth2AuthorizationException(OAuth2Error, String) - Constructor for exception org.springframework.security.oauth2.core.OAuth2AuthorizationException
-
Constructs an
OAuth2AuthorizationException
using the provided parameters. - OAuth2AuthorizationException(OAuth2Error, String, Throwable) - Constructor for exception org.springframework.security.oauth2.core.OAuth2AuthorizationException
-
Constructs an
OAuth2AuthorizationException
using the provided parameters. - OAuth2AuthorizationException(OAuth2Error, Throwable) - Constructor for exception org.springframework.security.oauth2.core.OAuth2AuthorizationException
-
Constructs an
OAuth2AuthorizationException
using the provided parameters. - OAuth2AuthorizationExchange - Class in org.springframework.security.oauth2.core.endpoint
-
An "exchange" of an OAuth 2.0 Authorization Request and Response for the authorization code grant type.
- OAuth2AuthorizationExchange(OAuth2AuthorizationRequest, OAuth2AuthorizationResponse) - Constructor for class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationExchange
-
Constructs a new
OAuth2AuthorizationExchange
with the provided Authorization Request and Authorization Response. - OAuth2AuthorizationRequest - Class in org.springframework.security.oauth2.core.endpoint
-
A representation of an OAuth 2.0 Authorization Request for the authorization code grant type.
- OAuth2AuthorizationRequest.Builder - Class in org.springframework.security.oauth2.core.endpoint
-
A builder for
OAuth2AuthorizationRequest
. - OAuth2AuthorizationResponse - Class in org.springframework.security.oauth2.core.endpoint
-
A representation of an OAuth 2.0 Authorization Response for the authorization code grant type.
- OAuth2AuthorizationResponse.Builder - Class in org.springframework.security.oauth2.core.endpoint
-
A builder for
OAuth2AuthorizationResponse
. - OAuth2AuthorizationResponseType - Class in org.springframework.security.oauth2.core.endpoint
-
The
response_type
parameter is consumed by the authorization endpoint which is used by the authorization code grant type. - OAuth2AuthorizationResponseType(String) - Constructor for class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponseType
- OAuth2BodyExtractors - Class in org.springframework.security.oauth2.core.web.reactive.function
-
Static factory methods for OAuth2
BodyExtractor
implementations. - OAuth2Error - Class in org.springframework.security.oauth2.core
-
A representation of an OAuth 2.0 Error.
- OAuth2Error(String) - Constructor for class org.springframework.security.oauth2.core.OAuth2Error
-
Constructs an
OAuth2Error
using the provided parameters. - OAuth2Error(String, String, String) - Constructor for class org.springframework.security.oauth2.core.OAuth2Error
-
Constructs an
OAuth2Error
using the provided parameters. - OAuth2ErrorCodes - Class in org.springframework.security.oauth2.core
-
Standard error codes defined by the OAuth 2.0 Authorization Framework.
- OAuth2ErrorHttpMessageConverter - Class in org.springframework.security.oauth2.core.http.converter
-
A
HttpMessageConverter
for anOAuth 2.0 Error
. - OAuth2ErrorHttpMessageConverter() - Constructor for class org.springframework.security.oauth2.core.http.converter.OAuth2ErrorHttpMessageConverter
- OAuth2ParameterNames - Class in org.springframework.security.oauth2.core.endpoint
-
Standard and custom (non-standard) parameter names defined in the OAuth Parameters Registry and used by the authorization endpoint, token endpoint and token revocation endpoint.
- OAuth2RefreshToken - Class in org.springframework.security.oauth2.core
-
An implementation of an
AbstractOAuth2Token
representing an OAuth 2.0 Refresh Token. - OAuth2RefreshToken(String, Instant) - Constructor for class org.springframework.security.oauth2.core.OAuth2RefreshToken
-
Constructs an
OAuth2RefreshToken
using the provided parameters. - OAuth2RefreshToken(String, Instant, Instant) - Constructor for class org.springframework.security.oauth2.core.OAuth2RefreshToken
-
Constructs an
OAuth2RefreshToken
using the provided parameters. - OAuth2Token - Interface in org.springframework.security.oauth2.core
-
Core interface representing an OAuth 2.0 Token.
- OAuth2TokenIntrospectionClaimAccessor - Interface in org.springframework.security.oauth2.core
-
A
ClaimAccessor
for the "claims" that may be contained in the Introspection Response. - OAuth2TokenIntrospectionClaimNames - Class in org.springframework.security.oauth2.core
-
The names of the "Introspection Claims" defined by an Introspection Response.
- OAuth2TokenValidator<T extends OAuth2Token> - Interface in org.springframework.security.oauth2.core
-
Implementations of this interface are responsible for "verifying" the validity and/or constraints of the attributes contained in an OAuth 2.0 Token.
- OAuth2TokenValidatorResult - Class in org.springframework.security.oauth2.core
-
A result emitted from an
OAuth2TokenValidator
validation attempt - OAuth2User - Interface in org.springframework.security.oauth2.core.user
-
A representation of a user
Principal
that is registered with an OAuth 2.0 Provider. - OAuth2UserAuthority - Class in org.springframework.security.oauth2.core.user
-
A
GrantedAuthority
that may be associated to anOAuth2User
. - OAuth2UserAuthority(String, Map<String, Object>) - Constructor for class org.springframework.security.oauth2.core.user.OAuth2UserAuthority
-
Constructs a
OAuth2UserAuthority
using the provided parameters. - OAuth2UserAuthority(Map<String, Object>) - Constructor for class org.springframework.security.oauth2.core.user.OAuth2UserAuthority
-
Constructs a
OAuth2UserAuthority
using the provided parameters and defaultsOAuth2UserAuthority.getAuthority()
toOAUTH2_USER
. - OidcIdToken - Class in org.springframework.security.oauth2.core.oidc
-
An implementation of an
AbstractOAuth2Token
representing an OpenID Connect Core 1.0 ID Token. - OidcIdToken(String, Instant, Instant, Map<String, Object>) - Constructor for class org.springframework.security.oauth2.core.oidc.OidcIdToken
-
Constructs a
OidcIdToken
using the provided parameters. - OidcIdToken.Builder - Class in org.springframework.security.oauth2.core.oidc
-
A builder for
OidcIdToken
s - OidcParameterNames - Class in org.springframework.security.oauth2.core.oidc.endpoint
-
Standard parameter names defined in the OAuth Parameters Registry and used by the authorization endpoint and token endpoint.
- OidcScopes - Class in org.springframework.security.oauth2.core.oidc
-
The scope values defined by the OpenID Connect Core 1.0 specification that can be used to request
claims
. - OidcUser - Interface in org.springframework.security.oauth2.core.oidc.user
-
A representation of a user
Principal
that is registered with an OpenID Connect 1.0 Provider. - OidcUserAuthority - Class in org.springframework.security.oauth2.core.oidc.user
-
A
GrantedAuthority
that may be associated to anOidcUser
. - OidcUserAuthority(String, OidcIdToken, OidcUserInfo) - Constructor for class org.springframework.security.oauth2.core.oidc.user.OidcUserAuthority
-
Constructs a
OidcUserAuthority
using the provided parameters. - OidcUserAuthority(OidcIdToken) - Constructor for class org.springframework.security.oauth2.core.oidc.user.OidcUserAuthority
-
Constructs a
OidcUserAuthority
using the provided parameters. - OidcUserAuthority(OidcIdToken, OidcUserInfo) - Constructor for class org.springframework.security.oauth2.core.oidc.user.OidcUserAuthority
-
Constructs a
OidcUserAuthority
using the provided parameters and defaultsOAuth2UserAuthority.getAuthority()
toOIDC_USER
. - OidcUserInfo - Class in org.springframework.security.oauth2.core.oidc
-
A representation of a UserInfo Response that is returned from the OAuth 2.0 Protected Resource UserInfo Endpoint.
- OidcUserInfo(Map<String, Object>) - Constructor for class org.springframework.security.oauth2.core.oidc.OidcUserInfo
-
Constructs a
OidcUserInfo
using the provided parameters. - OidcUserInfo.Builder - Class in org.springframework.security.oauth2.core.oidc
-
A builder for
OidcUserInfo
s - OPENID - Static variable in class org.springframework.security.oauth2.core.oidc.OidcScopes
-
The
openid
scope is required for OpenID Connect Authentication Requests. - org.springframework.security.oauth2.core - package org.springframework.security.oauth2.core
-
Core classes and interfaces providing support for the OAuth 2.0 Authorization Framework.
- org.springframework.security.oauth2.core.converter - package org.springframework.security.oauth2.core.converter
- org.springframework.security.oauth2.core.endpoint - package org.springframework.security.oauth2.core.endpoint
-
Support classes that model the OAuth 2.0 Request and Response messages from the Authorization Endpoint and Token Endpoint.
- org.springframework.security.oauth2.core.http.converter - package org.springframework.security.oauth2.core.http.converter
- org.springframework.security.oauth2.core.oidc - package org.springframework.security.oauth2.core.oidc
-
Core classes and interfaces providing support for OpenID Connect Core 1.0.
- org.springframework.security.oauth2.core.oidc.endpoint - package org.springframework.security.oauth2.core.oidc.endpoint
-
Support classes that model the OpenID Connect Core 1.0 Request and Response messages from the Authorization Endpoint and Token Endpoint.
- org.springframework.security.oauth2.core.oidc.user - package org.springframework.security.oauth2.core.oidc.user
-
Provides a model for an OpenID Connect Core 1.0 representation of a user
Principal
. - org.springframework.security.oauth2.core.user - package org.springframework.security.oauth2.core.user
-
Provides a model for an OAuth 2.0 representation of a user
Principal
. - org.springframework.security.oauth2.core.web.reactive.function - package org.springframework.security.oauth2.core.web.reactive.function
P
- parameters(Consumer<Map<String, Object>>) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest.Builder
-
A
Consumer
to be provided access to all the parameters allowing the ability to add, replace, or remove. - PASSWORD - Static variable in class org.springframework.security.oauth2.core.AuthorizationGrantType
-
Deprecated.The latest OAuth 2.0 Security Best Current Practice disallows the use of the Resource Owner Password Credentials grant. See reference OAuth 2.0 Security Best Current Practice.
- PASSWORD - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
password
- used in Access Token Request. - PHONE - Static variable in class org.springframework.security.oauth2.core.oidc.OidcScopes
-
The
phone
scope requests access to thephone_number
andphone_number_verified
claims. - PHONE_NUMBER - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
phone_number
- the user's preferred phone number - PHONE_NUMBER_VERIFIED - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
phone_number_verified
-true
if the user's phone number has been verified, otherwisefalse
- phoneNumber(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this phone number in the resulting
OidcUserInfo
- phoneNumberVerified(Boolean) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this verified-phone-number indicator in the resulting
OidcUserInfo
- picture(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this picture in the resulting
OidcUserInfo
- PICTURE - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
picture
- the URL of the user's profile picture - PkceParameterNames - Class in org.springframework.security.oauth2.core.endpoint
-
Standard parameter names defined in the OAuth Parameters Registry and used by the authorization endpoint and token endpoint.
- postalCode(String) - Method in class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim.Builder
-
Sets the zip code or postal code.
- PREFERRED_USERNAME - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
preferred_username
- the preferred username that the user wishes to be referred to - preferredUsername(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this preferred username in the resulting
OidcUserInfo
- PRIVATE_KEY_JWT - Static variable in class org.springframework.security.oauth2.core.ClientAuthenticationMethod
- profile(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this profile in the resulting
OidcUserInfo
- PROFILE - Static variable in class org.springframework.security.oauth2.core.oidc.OidcScopes
-
The
profile
scope requests access to the default profile claims, which are:name, family_name, given_name, middle_name, nickname, preferred_username, profile, picture, website, gender, birthdate, zoneinfo, locale, updated_at
. - PROFILE - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
profile
- the URL of the user's profile page
Q
- QUERY - Static variable in class org.springframework.security.oauth2.core.AuthenticationMethod
R
- readInternal(Class<? extends OAuth2AccessTokenResponse>, HttpInputMessage) - Method in class org.springframework.security.oauth2.core.http.converter.OAuth2AccessTokenResponseHttpMessageConverter
- readInternal(Class<? extends OAuth2Error>, HttpInputMessage) - Method in class org.springframework.security.oauth2.core.http.converter.OAuth2ErrorHttpMessageConverter
- REDIRECT_URI - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
redirect_uri
- used in Authorization Request and Access Token Request. - redirectUri(String) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest.Builder
-
Sets the uri for the redirection endpoint.
- redirectUri(String) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponse.Builder
-
Sets the uri where the response was redirected to.
- REFRESH_TOKEN - Static variable in class org.springframework.security.oauth2.core.AuthorizationGrantType
- REFRESH_TOKEN - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
refresh_token
- used in Access Token Request and Access Token Response. - refreshToken(String) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse.Builder
-
Sets the refresh token associated to the access token.
- region(String) - Method in class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim.Builder
-
Sets the state, province, prefecture, or region.
- REGISTRATION_ID - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
Non-standard parameter (used internally).
- RESPONSE_TYPE - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
response_type
- used in Authorization Request.
S
- scope(String...) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest.Builder
-
Sets the scope(s).
- SCOPE - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
scope
- used in Authorization Request, Authorization Response, Access Token Request and Access Token Response. - SCOPE - Static variable in class org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimNames
-
scope
- The scopes for the token - scopes(Set<String>) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse.Builder
-
Sets the scope(s) associated to the access token.
- scopes(Set<String>) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest.Builder
-
Sets the scope(s).
- SERVER_ERROR - Static variable in class org.springframework.security.oauth2.core.OAuth2ErrorCodes
-
server_error
- The authorization server encountered an unexpected condition that prevented it from fulfilling the request. - setAccessTokenResponseConverter(Converter<Map<String, Object>, OAuth2AccessTokenResponse>) - Method in class org.springframework.security.oauth2.core.http.converter.OAuth2AccessTokenResponseHttpMessageConverter
-
Sets the
Converter
used for converting the OAuth 2.0 Access Token Response parameters to anOAuth2AccessTokenResponse
. - setAccessTokenResponseParametersConverter(Converter<OAuth2AccessTokenResponse, Map<String, Object>>) - Method in class org.springframework.security.oauth2.core.http.converter.OAuth2AccessTokenResponseHttpMessageConverter
-
Sets the
Converter
used for converting theOAuth2AccessTokenResponse
to aMap
representation of the OAuth 2.0 Access Token Response parameters. - setErrorConverter(Converter<Map<String, String>, OAuth2Error>) - Method in class org.springframework.security.oauth2.core.http.converter.OAuth2ErrorHttpMessageConverter
-
Sets the
Converter
used for converting the OAuth 2.0 Error parameters to anOAuth2Error
. - setErrorParametersConverter(Converter<OAuth2Error, Map<String, String>>) - Method in class org.springframework.security.oauth2.core.http.converter.OAuth2ErrorHttpMessageConverter
-
Sets the
Converter
used for converting theOAuth2Error
to aMap
representation of the OAuth 2.0 Error parameters. - StandardClaimAccessor - Interface in org.springframework.security.oauth2.core.oidc
-
A
ClaimAccessor
for the "Standard Claims" that can be returned either in the UserInfo Response or the ID Token. - StandardClaimNames - Class in org.springframework.security.oauth2.core.oidc
-
The names of the "Standard Claims" defined by the OpenID Connect Core 1.0 specification that can be returned either in the UserInfo Response or the ID Token.
- state(String) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest.Builder
-
Sets the state.
- state(String) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponse.Builder
-
Sets the state.
- STATE - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
state
- used in Authorization Request and Authorization Response. - statusError() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponse
-
Returns
true
if the Authorization Request failed, otherwisefalse
. - statusOk() - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponse
-
Returns
true
if the Authorization Request succeeded, otherwisefalse
. - streetAddress(String) - Method in class org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim.Builder
-
Sets the full street address, which may include house number, street name, P.O.
- SUB - Static variable in class org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimNames
-
sub
- Usually a machine-readable identifier of the resource owner who authorized the token - SUB - Static variable in class org.springframework.security.oauth2.core.oidc.IdTokenClaimNames
-
sub
- the Subject identifier - SUB - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
sub
- the Subject identifier - subject(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Use this subject in the resulting
OidcIdToken
- subject(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this subject in the resulting
OidcUserInfo
- success() - Static method in class org.springframework.security.oauth2.core.OAuth2TokenValidatorResult
-
Construct a successful
OAuth2TokenValidatorResult
- success(String) - Static method in class org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationResponse
-
Returns a new
OAuth2AuthorizationResponse.Builder
, initialized with the authorization code. - supports(Class<?>) - Method in class org.springframework.security.oauth2.core.http.converter.OAuth2AccessTokenResponseHttpMessageConverter
- supports(Class<?>) - Method in class org.springframework.security.oauth2.core.http.converter.OAuth2ErrorHttpMessageConverter
T
- TEMPORARILY_UNAVAILABLE - Static variable in class org.springframework.security.oauth2.core.OAuth2ErrorCodes
-
temporarily_unavailable
- The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server. - TOKEN - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
token
- used in Token Revocation Request. - TOKEN_TYPE - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
token_type
- used in Authorization Response and Access Token Response. - TOKEN_TYPE - Static variable in class org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimNames
-
token_type
- The type of the token, for examplebearer
. - TOKEN_TYPE_HINT - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
token_type_hint
- used in Token Revocation Request. - tokenType(OAuth2AccessToken.TokenType) - Method in class org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse.Builder
-
Sets the
token type
. - tokenValue(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcIdToken.Builder
-
Use this token value in the resulting
OidcIdToken
- toString() - Method in class org.springframework.security.oauth2.core.OAuth2Error
- toString() - Method in class org.springframework.security.oauth2.core.user.DefaultOAuth2User
- toString() - Method in class org.springframework.security.oauth2.core.user.OAuth2UserAuthority
U
- UNAUTHORIZED_CLIENT - Static variable in class org.springframework.security.oauth2.core.OAuth2ErrorCodes
-
unauthorized_client
- The client is not authorized to request an authorization code or access token using this method. - UNSUPPORTED_GRANT_TYPE - Static variable in class org.springframework.security.oauth2.core.OAuth2ErrorCodes
-
unsupported_grant_type
- The authorization grant type is not supported by the authorization server. - UNSUPPORTED_RESPONSE_TYPE - Static variable in class org.springframework.security.oauth2.core.OAuth2ErrorCodes
-
unsupported_response_type
- The authorization server does not support obtaining an authorization code or access token using this method. - UNSUPPORTED_TOKEN_TYPE - Static variable in class org.springframework.security.oauth2.core.OAuth2ErrorCodes
-
unsupported_token_type
- The authorization server does not support the revocation of the presented token type. - UPDATED_AT - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
updated_at
- the time the user's information was last updated - updatedAt(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this updated-at
Instant
in the resultingOidcUserInfo
- USERNAME - Static variable in class org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames
-
username
- used in Access Token Request. - USERNAME - Static variable in class org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimNames
-
username
- A human-readable identifier for the resource owner that authorized the token
V
- validate(T) - Method in class org.springframework.security.oauth2.core.DelegatingOAuth2TokenValidator
- validate(T) - Method in interface org.springframework.security.oauth2.core.OAuth2TokenValidator
-
Verify the validity and/or constraints of the provided OAuth 2.0 Token.
W
- website(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this website in the resulting
OidcUserInfo
- WEBSITE - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
website
- the URL of the user's web page or blog - withResponse(OAuth2AccessTokenResponse) - Static method in class org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse
-
Returns a new
OAuth2AccessTokenResponse.Builder
, initialized with the provided response. - withToken(String) - Static method in class org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse
-
Returns a new
OAuth2AccessTokenResponse.Builder
, initialized with the provided access token value. - withTokenValue(String) - Static method in class org.springframework.security.oauth2.core.oidc.OidcIdToken
-
Create a
OidcIdToken.Builder
based on the given token value - writeInternal(OAuth2AccessTokenResponse, HttpOutputMessage) - Method in class org.springframework.security.oauth2.core.http.converter.OAuth2AccessTokenResponseHttpMessageConverter
- writeInternal(OAuth2Error, HttpOutputMessage) - Method in class org.springframework.security.oauth2.core.http.converter.OAuth2ErrorHttpMessageConverter
Z
- zoneinfo(String) - Method in class org.springframework.security.oauth2.core.oidc.OidcUserInfo.Builder
-
Use this zoneinfo in the resulting
OidcUserInfo
- ZONEINFO - Static variable in class org.springframework.security.oauth2.core.oidc.StandardClaimNames
-
zoneinfo
- the user's time zone
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form