- getAttributes() - Method in class org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionAuthenticatedPrincipal
-
Gets the attributes of the OAuth 2.0 Token Introspection in map form.
- getAudience() - Method in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimAccessor
-
Returns the intended audience (aud)
for the token
- getAuthorities() - Method in class org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionAuthenticatedPrincipal
-
Get the Collection
of GrantedAuthority
s associated with this OAuth
2.0 Token Introspection
- getClaims() - Method in class org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionAuthenticatedPrincipal
-
- getClientId() - Method in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimAccessor
-
Returns the client identifier (client_id)
for the token
- getCredentials() - Method in class org.springframework.security.oauth2.server.resource.authentication.AbstractOAuth2TokenAuthenticationToken
-
- getCredentials() - Method in class org.springframework.security.oauth2.server.resource.BearerTokenAuthenticationToken
-
- getExpiresAt() - Method in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimAccessor
-
Returns a timestamp (exp)
indicating when the token expires
- getHttpStatus() - Method in class org.springframework.security.oauth2.server.resource.BearerTokenError
-
Return the HTTP status.
- getId() - Method in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimAccessor
-
Returns the identifier (jti)
for the token
- getIssuedAt() - Method in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimAccessor
-
Returns a timestamp (iat)
indicating when the token was issued
- getIssuer() - Method in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimAccessor
-
Returns the issuer (iss)
of the token
- getName() - Method in class org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken
-
The principal name which is, by default, the Jwt
's subject
- getName() - Method in class org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionAuthenticatedPrincipal
-
- getNotBefore() - Method in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimAccessor
-
Returns a timestamp (nbf)
indicating when the token is not to be used
before
- getPrincipal() - Method in class org.springframework.security.oauth2.server.resource.authentication.AbstractOAuth2TokenAuthenticationToken
-
- getPrincipal() - Method in class org.springframework.security.oauth2.server.resource.BearerTokenAuthenticationToken
-
- getScope() - Method in class org.springframework.security.oauth2.server.resource.BearerTokenError
-
Return the scope.
- getScope() - Method in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimAccessor
-
Returns the scopes (scope)
associated with the token
- getSubject() - Method in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimAccessor
-
Returns usually a machine-readable identifier (sub)
of the resource owner
who authorized the token
- getToken() - Method in class org.springframework.security.oauth2.server.resource.authentication.AbstractOAuth2TokenAuthenticationToken
-
Get the token bound to this Authentication
.
- getToken() - Method in class org.springframework.security.oauth2.server.resource.BearerTokenAuthenticationToken
-
- getTokenAttributes() - Method in class org.springframework.security.oauth2.server.resource.authentication.AbstractOAuth2TokenAuthenticationToken
-
Returns the attributes of the access token.
- getTokenAttributes() - Method in class org.springframework.security.oauth2.server.resource.authentication.BearerTokenAuthentication
-
- getTokenAttributes() - Method in class org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken
-
- getTokenType() - Method in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimAccessor
-
Returns the type of the token (token_type)
, for example bearer
.
- getUsername() - Method in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimAccessor
-
Returns a human-readable identifier (username)
for the resource owner that
authorized the token
- INSUFFICIENT_SCOPE - Static variable in interface org.springframework.security.oauth2.server.resource.BearerTokenErrorCodes
-
insufficient_scope
- The request requires higher privileges than provided
by the access token.
- insufficientScope(String, String) - Static method in class org.springframework.security.oauth2.server.resource.BearerTokenErrors
-
- introspect(String) - Method in class org.springframework.security.oauth2.server.resource.introspection.NimbusOpaqueTokenIntrospector
-
- introspect(String) - Method in class org.springframework.security.oauth2.server.resource.introspection.NimbusReactiveOpaqueTokenIntrospector
-
- introspect(String) - Method in interface org.springframework.security.oauth2.server.resource.introspection.OpaqueTokenIntrospector
-
Introspect and verify the given token, returning its attributes.
- introspect(String) - Method in interface org.springframework.security.oauth2.server.resource.introspection.ReactiveOpaqueTokenIntrospector
-
Introspect and verify the given token, returning its attributes.
- INVALID_REQUEST - Static variable in interface org.springframework.security.oauth2.server.resource.BearerTokenErrorCodes
-
invalid_request
- The request is missing a required parameter, includes an
unsupported parameter or parameter value, repeats the same parameter, uses more
than one method for including an access token, or is otherwise malformed.
- INVALID_TOKEN - Static variable in interface org.springframework.security.oauth2.server.resource.BearerTokenErrorCodes
-
invalid_token
- The access token provided is expired, revoked, malformed,
or invalid for other reasons.
- InvalidBearerTokenException - Exception in org.springframework.security.oauth2.server.resource
-
An OAuth2AuthenticationException
that indicates an invalid bearer token.
- InvalidBearerTokenException(String) - Constructor for exception org.springframework.security.oauth2.server.resource.InvalidBearerTokenException
-
- InvalidBearerTokenException(String, Throwable) - Constructor for exception org.springframework.security.oauth2.server.resource.InvalidBearerTokenException
-
Construct an instance of
InvalidBearerTokenException
given the provided
description and cause
The description will be wrapped into an
OAuth2Error
instance as the
error_description
.
- invalidRequest(String) - Static method in class org.springframework.security.oauth2.server.resource.BearerTokenErrors
-
- invalidToken(String) - Static method in class org.springframework.security.oauth2.server.resource.BearerTokenErrors
-
- isActive() - Method in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimAccessor
-
Returns the indicator (active)
whether or not the token is currently active
- ISSUED_AT - Static variable in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimNames
-
iat
- A timestamp indicating when the token was issued
- ISSUER - Static variable in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimNames
-
iss
- The issuer of the token
- SCOPE - Static variable in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimNames
-
scope
- The scopes for the token
- ServerBearerExchangeFilterFunction - Class in org.springframework.security.oauth2.server.resource.web.reactive.function.client
-
An
ExchangeFilterFunction
that adds the
Bearer
Token from an existing
AbstractOAuth2Token
tied to the current
Authentication
.
- ServerBearerExchangeFilterFunction() - Constructor for class org.springframework.security.oauth2.server.resource.web.reactive.function.client.ServerBearerExchangeFilterFunction
-
- ServerBearerTokenAuthenticationConverter - Class in org.springframework.security.oauth2.server.resource.web.server
-
A strategy for resolving
Bearer
Tokens from the
ServerWebExchange
.
- ServerBearerTokenAuthenticationConverter() - Constructor for class org.springframework.security.oauth2.server.resource.web.server.ServerBearerTokenAuthenticationConverter
-
- ServletBearerExchangeFilterFunction - Class in org.springframework.security.oauth2.server.resource.web.reactive.function.client
-
An
ExchangeFilterFunction
that adds the
Bearer
Token from an existing
AbstractOAuth2Token
tied to the current
Authentication
.
- ServletBearerExchangeFilterFunction() - Constructor for class org.springframework.security.oauth2.server.resource.web.reactive.function.client.ServletBearerExchangeFilterFunction
-
- setAllowFormEncodedBodyParameter(boolean) - Method in class org.springframework.security.oauth2.server.resource.web.DefaultBearerTokenResolver
-
Set if transport of access token using form-encoded body parameter is supported.
- setAllowUriQueryParameter(boolean) - Method in class org.springframework.security.oauth2.server.resource.web.DefaultBearerTokenResolver
-
Set if transport of access token using URI query parameter is supported.
- setAllowUriQueryParameter(boolean) - Method in class org.springframework.security.oauth2.server.resource.web.server.ServerBearerTokenAuthenticationConverter
-
Set if transport of access token using URI query parameter is supported.
- setAuthenticationEntryPoint(AuthenticationEntryPoint) - Method in class org.springframework.security.oauth2.server.resource.web.BearerTokenAuthenticationFilter
-
Set the AuthenticationEntryPoint
to use.
- setAuthenticationFailureHandler(AuthenticationFailureHandler) - Method in class org.springframework.security.oauth2.server.resource.web.BearerTokenAuthenticationFilter
-
Set the AuthenticationFailureHandler
to use.
- setAuthoritiesClaimName(String) - Method in class org.springframework.security.oauth2.server.resource.authentication.JwtGrantedAuthoritiesConverter
-
Sets the name of token claim to use for mapping authorities
by this converter.
- setAuthorityPrefix(String) - Method in class org.springframework.security.oauth2.server.resource.authentication.JwtGrantedAuthoritiesConverter
-
Sets the prefix to use for authorities
mapped by this
converter.
- setBearerTokenHeaderName(String) - Method in class org.springframework.security.oauth2.server.resource.web.DefaultBearerTokenResolver
-
Set this value to configure what header is checked when resolving a Bearer Token.
- setBearerTokenHeaderName(String) - Method in class org.springframework.security.oauth2.server.resource.web.server.ServerBearerTokenAuthenticationConverter
-
Set this value to configure what header is checked when resolving a Bearer Token.
- setBearerTokenResolver(BearerTokenResolver) - Method in class org.springframework.security.oauth2.server.resource.web.BearerTokenAuthenticationFilter
-
- setJwtAuthenticationConverter(Converter<Jwt, ? extends AbstractAuthenticationToken>) - Method in class org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationProvider
-
- setJwtAuthenticationConverter(Converter<Jwt, ? extends Mono<? extends AbstractAuthenticationToken>>) - Method in class org.springframework.security.oauth2.server.resource.authentication.JwtReactiveAuthenticationManager
-
Use the given Converter
for converting a Jwt
into an
AbstractAuthenticationToken
.
- setJwtGrantedAuthoritiesConverter(Converter<Jwt, Collection<GrantedAuthority>>) - Method in class org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationConverter
-
Sets the Converter<Jwt, Collection<GrantedAuthority>>
to use.
- setJwtGrantedAuthoritiesConverter(Converter<Jwt, Flux<GrantedAuthority>>) - Method in class org.springframework.security.oauth2.server.resource.authentication.ReactiveJwtAuthenticationConverter
-
Sets the Converter<Jwt, Flux<GrantedAuthority>>
to
use.
- setPrincipalClaimName(String) - Method in class org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationConverter
-
Sets the principal claim name.
- setRealmName(String) - Method in class org.springframework.security.oauth2.server.resource.web.access.BearerTokenAccessDeniedHandler
-
Set the default realm name to use in the bearer token error response
- setRealmName(String) - Method in class org.springframework.security.oauth2.server.resource.web.access.server.BearerTokenServerAccessDeniedHandler
-
Set the default realm name to use in the bearer token error response
- setRealmName(String) - Method in class org.springframework.security.oauth2.server.resource.web.BearerTokenAuthenticationEntryPoint
-
Set the default realm name to use in the bearer token error response
- setRealmName(String) - Method in class org.springframework.security.oauth2.server.resource.web.server.BearerTokenServerAuthenticationEntryPoint
-
- setRequestEntityConverter(Converter<String, RequestEntity<?>>) - Method in class org.springframework.security.oauth2.server.resource.introspection.NimbusOpaqueTokenIntrospector
-
Sets the Converter
used for converting the OAuth 2.0 access token to a
RequestEntity
representation of the OAuth 2.0 token introspection request.
- SUBJECT - Static variable in interface org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionClaimNames
-
sub
- Usually a machine-readable identifier of the resource owner who
authorized the token
- supports(Class<?>) - Method in class org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationProvider
-
- supports(Class<?>) - Method in class org.springframework.security.oauth2.server.resource.authentication.OpaqueTokenAuthenticationProvider
-