- getAccessToken() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeAuthenticationToken
-
Returns the access token.
- getAccessToken() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2LoginAuthenticationToken
-
Returns the access token.
- getAccessToken() - Method in class org.springframework.security.oauth2.client.OAuth2AuthorizedClient
-
Returns the access token credential granted.
- getAccessToken() - Method in class org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest
-
Returns the access token.
- getAdditionalParameters() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeAuthenticationToken
-
Returns the additional parameters
- getAdditionalParameters() - Method in class org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest
-
Returns the additional parameters that may be used in the request.
- getAuthenticationMethod() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration.ProviderDetails.UserInfoEndpoint
-
Returns the authentication method for the user info endpoint.
- getAuthorizationExchange() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeAuthenticationToken
-
Returns the authorization exchange.
- getAuthorizationExchange() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2LoginAuthenticationToken
-
Returns the authorization exchange.
- getAuthorizationExchange() - Method in class org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest
-
Returns the authorization exchange.
- getAuthorizationGrantType() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration
-
Returns the authorization grant type used for the client.
- getAuthorizationUri() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration.ProviderDetails
-
Returns the uri for the authorization endpoint.
- getAuthorizedClientRegistrationId() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken
-
- getClientAuthenticationMethod() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration
-
Returns the authentication method used
when authenticating the client with the authorization server.
- getClientId() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration
-
Returns the client identifier.
- getClientName() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration
-
Returns the logical name of the client or registration.
- getClientRegistration() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeAuthenticationToken
-
- getClientRegistration() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2LoginAuthenticationToken
-
- getClientRegistration() - Method in class org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest
-
- getClientRegistration() - Method in class org.springframework.security.oauth2.client.endpoint.OAuth2ClientCredentialsGrantRequest
-
- getClientRegistration() - Method in class org.springframework.security.oauth2.client.OAuth2AuthorizedClient
-
- getClientRegistration() - Method in class org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest
-
- getClientRegistrationId() - Method in exception org.springframework.security.oauth2.client.ClientAuthorizationRequiredException
-
Returns the identifier for the client's registration.
- getClientSecret() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration
-
Returns the client secret.
- getConfigurationMetadata() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration.ProviderDetails
-
Returns a Map of the metadata describing the provider's configuration.
- getCredentials() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken
-
- getCredentials() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeAuthenticationToken
-
- getCredentials() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2LoginAuthenticationToken
-
- getGrantType() - Method in class org.springframework.security.oauth2.client.endpoint.AbstractOAuth2AuthorizationGrantRequest
-
Returns the authorization grant type.
- getIdToken() - Method in class org.springframework.security.oauth2.client.oidc.userinfo.OidcUserRequest
-
Returns the ID Token containing claims about the user.
- getJwkSetUri() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration.ProviderDetails
-
Returns the uri for the JSON Web Key (JWK) Set endpoint.
- getPrincipal() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken
-
- getPrincipal() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeAuthenticationToken
-
- getPrincipal() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2LoginAuthenticationToken
-
- getPrincipalName() - Method in class org.springframework.security.oauth2.client.OAuth2AuthorizedClient
-
Returns the End-User's Principal name.
- getProviderDetails() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration
-
Returns the details of the provider.
- getRedirectUriTemplate() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration
-
Returns the uri (or uri template) for the redirection endpoint.
- getRefreshToken() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeAuthenticationToken
-
Returns the refresh token.
- getRefreshToken() - Method in class org.springframework.security.oauth2.client.authentication.OAuth2LoginAuthenticationToken
-
Returns the refresh token.
- getRefreshToken() - Method in class org.springframework.security.oauth2.client.OAuth2AuthorizedClient
-
Returns the refresh token credential granted.
- getRegistrationId() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration
-
Returns the identifier for the registration.
- getScopes() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration
-
Returns the scope(s) used for the client.
- getTokenResponse(OAuth2AuthorizationCodeGrantRequest) - Method in class org.springframework.security.oauth2.client.endpoint.DefaultAuthorizationCodeTokenResponseClient
-
- getTokenResponse(OAuth2ClientCredentialsGrantRequest) - Method in class org.springframework.security.oauth2.client.endpoint.DefaultClientCredentialsTokenResponseClient
-
- getTokenResponse(OAuth2AuthorizationCodeGrantRequest) - Method in class org.springframework.security.oauth2.client.endpoint.NimbusAuthorizationCodeTokenResponseClient
-
Deprecated.
- getTokenResponse(T) - Method in interface org.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient
-
Exchanges the authorization grant credential, provided in the authorization grant request,
for an access token credential at the Authorization Server's Token Endpoint.
- getTokenResponse(T) - Method in interface org.springframework.security.oauth2.client.endpoint.ReactiveOAuth2AccessTokenResponseClient
-
Exchanges the authorization grant credential, provided in the authorization grant request,
for an access token credential at the Authorization Server's Token Endpoint.
- getTokenResponse(OAuth2AuthorizationCodeGrantRequest) - Method in class org.springframework.security.oauth2.client.endpoint.WebClientReactiveAuthorizationCodeTokenResponseClient
-
- getTokenResponse(OAuth2ClientCredentialsGrantRequest) - Method in class org.springframework.security.oauth2.client.endpoint.WebClientReactiveClientCredentialsTokenResponseClient
-
- getTokenUri() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration.ProviderDetails
-
Returns the uri for the token endpoint.
- getUri() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration.ProviderDetails.UserInfoEndpoint
-
Returns the uri for the user info endpoint.
- getUserInfoEndpoint() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration.ProviderDetails
-
- getUserNameAttributeName() - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration.ProviderDetails.UserInfoEndpoint
-
Returns the attribute name used to access the user's name from the user info response.
- OAuth2AccessTokenResponseClient<T extends AbstractOAuth2AuthorizationGrantRequest> - Interface in org.springframework.security.oauth2.client.endpoint
-
A strategy for "exchanging" an authorization grant credential
(e.g.
- OAuth2AuthenticationToken - Class in org.springframework.security.oauth2.client.authentication
-
An implementation of an AbstractAuthenticationToken
that represents an OAuth 2.0 Authentication.
- OAuth2AuthenticationToken(OAuth2User, Collection<? extends GrantedAuthority>, String) - Constructor for class org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken
-
Constructs an OAuth2AuthenticationToken using the provided parameters.
- OAuth2AuthorizationCodeAuthenticationProvider - Class in org.springframework.security.oauth2.client.authentication
-
An implementation of an AuthenticationProvider for the OAuth 2.0 Authorization Code Grant.
- OAuth2AuthorizationCodeAuthenticationProvider(OAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest>) - Constructor for class org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeAuthenticationProvider
-
Constructs an OAuth2AuthorizationCodeAuthenticationProvider using the provided parameters.
- OAuth2AuthorizationCodeAuthenticationToken - Class in org.springframework.security.oauth2.client.authentication
-
An AbstractAuthenticationToken for the OAuth 2.0 Authorization Code Grant.
- OAuth2AuthorizationCodeAuthenticationToken(ClientRegistration, OAuth2AuthorizationExchange) - Constructor for class org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeAuthenticationToken
-
This constructor should be used when the Authorization Request/Response is complete.
- OAuth2AuthorizationCodeAuthenticationToken(ClientRegistration, OAuth2AuthorizationExchange, OAuth2AccessToken) - Constructor for class org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeAuthenticationToken
-
This constructor should be used when the Access Token Request/Response is complete,
which indicates that the Authorization Code Grant flow has fully completed.
- OAuth2AuthorizationCodeAuthenticationToken(ClientRegistration, OAuth2AuthorizationExchange, OAuth2AccessToken, OAuth2RefreshToken) - Constructor for class org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeAuthenticationToken
-
This constructor should be used when the Access Token Request/Response is complete,
which indicates that the Authorization Code Grant flow has fully completed.
- OAuth2AuthorizationCodeAuthenticationToken(ClientRegistration, OAuth2AuthorizationExchange, OAuth2AccessToken, OAuth2RefreshToken, Map<String, Object>) - Constructor for class org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeAuthenticationToken
-
- OAuth2AuthorizationCodeGrantFilter - Class in org.springframework.security.oauth2.client.web
-
A Filter for the OAuth 2.0 Authorization Code Grant,
which handles the processing of the OAuth 2.0 Authorization Response.
- OAuth2AuthorizationCodeGrantFilter(ClientRegistrationRepository, OAuth2AuthorizedClientRepository, AuthenticationManager) - Constructor for class org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter
-
Constructs an OAuth2AuthorizationCodeGrantFilter using the provided parameters.
- OAuth2AuthorizationCodeGrantRequest - Class in org.springframework.security.oauth2.client.endpoint
-
An OAuth 2.0 Authorization Code Grant request that holds an Authorization Code credential,
which was granted by the Resource Owner to the
Client.
- OAuth2AuthorizationCodeGrantRequest(ClientRegistration, OAuth2AuthorizationExchange) - Constructor for class org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest
-
Constructs an OAuth2AuthorizationCodeGrantRequest using the provided parameters.
- OAuth2AuthorizationCodeGrantRequestEntityConverter - Class in org.springframework.security.oauth2.client.endpoint
-
A
Converter that converts the provided
OAuth2AuthorizationCodeGrantRequest
to a
RequestEntity representation of an OAuth 2.0 Access Token Request
for the Authorization Code Grant.
- OAuth2AuthorizationCodeGrantRequestEntityConverter() - Constructor for class org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequestEntityConverter
-
- OAuth2AuthorizationCodeGrantWebFilter - Class in org.springframework.security.oauth2.client.web.server
-
A Filter for the OAuth 2.0 Authorization Code Grant,
which handles the processing of the OAuth 2.0 Authorization Response.
- OAuth2AuthorizationCodeGrantWebFilter(ReactiveAuthenticationManager, ReactiveClientRegistrationRepository, ServerOAuth2AuthorizedClientRepository) - Constructor for class org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationCodeGrantWebFilter
-
- OAuth2AuthorizationCodeGrantWebFilter(ReactiveAuthenticationManager, ServerAuthenticationConverter, ServerOAuth2AuthorizedClientRepository) - Constructor for class org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationCodeGrantWebFilter
-
- OAuth2AuthorizationCodeReactiveAuthenticationManager - Class in org.springframework.security.oauth2.client.authentication
-
An implementation of an AuthenticationProvider for OAuth 2.0 Login,
which leverages the OAuth 2.0 Authorization Code Grant Flow.
- OAuth2AuthorizationCodeReactiveAuthenticationManager(ReactiveOAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest>) - Constructor for class org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeReactiveAuthenticationManager
-
- OAuth2AuthorizationRequestRedirectFilter - Class in org.springframework.security.oauth2.client.web
-
This Filter initiates the authorization code grant or implicit grant flow
by redirecting the End-User's user-agent to the Authorization Server's Authorization Endpoint.
- OAuth2AuthorizationRequestRedirectFilter(ClientRegistrationRepository) - Constructor for class org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter
-
Constructs an OAuth2AuthorizationRequestRedirectFilter using the provided parameters.
- OAuth2AuthorizationRequestRedirectFilter(ClientRegistrationRepository, String) - Constructor for class org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter
-
Constructs an OAuth2AuthorizationRequestRedirectFilter using the provided parameters.
- OAuth2AuthorizationRequestRedirectFilter(OAuth2AuthorizationRequestResolver) - Constructor for class org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter
-
Constructs an OAuth2AuthorizationRequestRedirectFilter using the provided parameters.
- OAuth2AuthorizationRequestRedirectWebFilter - Class in org.springframework.security.oauth2.client.web.server
-
This WebFilter initiates the authorization code grant or implicit grant flow
by redirecting the End-User's user-agent to the Authorization Server's Authorization Endpoint.
- OAuth2AuthorizationRequestRedirectWebFilter(ReactiveClientRegistrationRepository) - Constructor for class org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter
-
Constructs an OAuth2AuthorizationRequestRedirectFilter using the provided parameters.
- OAuth2AuthorizationRequestRedirectWebFilter(ServerOAuth2AuthorizationRequestResolver) - Constructor for class org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter
-
Constructs an OAuth2AuthorizationRequestRedirectFilter using the provided parameters.
- OAuth2AuthorizationRequestResolver - Interface in org.springframework.security.oauth2.client.web
-
Implementations of this interface are capable of resolving
an OAuth2AuthorizationRequest from the provided HttpServletRequest.
- OAuth2AuthorizedClient - Class in org.springframework.security.oauth2.client
-
A representation of an OAuth 2.0 "Authorized Client".
- OAuth2AuthorizedClient(ClientRegistration, String, OAuth2AccessToken) - Constructor for class org.springframework.security.oauth2.client.OAuth2AuthorizedClient
-
Constructs an OAuth2AuthorizedClient using the provided parameters.
- OAuth2AuthorizedClient(ClientRegistration, String, OAuth2AccessToken, OAuth2RefreshToken) - Constructor for class org.springframework.security.oauth2.client.OAuth2AuthorizedClient
-
Constructs an OAuth2AuthorizedClient using the provided parameters.
- oauth2AuthorizedClient(OAuth2AuthorizedClient) - Static method in class org.springframework.security.oauth2.client.web.reactive.function.client.ServerOAuth2AuthorizedClientExchangeFilterFunction
-
Modifies the
ClientRequest.attributes() to include the
OAuth2AuthorizedClient to be used for
providing the Bearer Token.
- oauth2AuthorizedClient(OAuth2AuthorizedClient) - Static method in class org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction
-
Modifies the
ClientRequest.attributes() to include the
OAuth2AuthorizedClient to be used for
providing the Bearer Token.
- OAuth2AuthorizedClientArgumentResolver - Class in org.springframework.security.oauth2.client.web.method.annotation
-
An implementation of a
HandlerMethodArgumentResolver that is capable
of resolving a method parameter to an argument value of type
OAuth2AuthorizedClient.
- OAuth2AuthorizedClientArgumentResolver(ClientRegistrationRepository, OAuth2AuthorizedClientRepository) - Constructor for class org.springframework.security.oauth2.client.web.method.annotation.OAuth2AuthorizedClientArgumentResolver
-
Constructs an OAuth2AuthorizedClientArgumentResolver using the provided parameters.
- OAuth2AuthorizedClientArgumentResolver - Class in org.springframework.security.oauth2.client.web.reactive.result.method.annotation
-
An implementation of a
HandlerMethodArgumentResolver that is capable
of resolving a method parameter to an argument value of type
OAuth2AuthorizedClient.
- OAuth2AuthorizedClientArgumentResolver(ReactiveClientRegistrationRepository, ServerOAuth2AuthorizedClientRepository) - Constructor for class org.springframework.security.oauth2.client.web.reactive.result.method.annotation.OAuth2AuthorizedClientArgumentResolver
-
Constructs an OAuth2AuthorizedClientArgumentResolver using the provided parameters.
- OAuth2AuthorizedClientRepository - Interface in org.springframework.security.oauth2.client.web
-
Implementations of this interface are responsible for the persistence
of
Authorized Client(s) between requests.
- OAuth2AuthorizedClientService - Interface in org.springframework.security.oauth2.client
-
Implementations of this interface are responsible for the management
of
Authorized Client(s), which provide the purpose
of associating an
Access Token credential
to a
Client and Resource Owner,
who is the
Principal
that originally granted the authorization.
- OAuth2ClientCredentialsGrantRequest - Class in org.springframework.security.oauth2.client.endpoint
-
- OAuth2ClientCredentialsGrantRequest(ClientRegistration) - Constructor for class org.springframework.security.oauth2.client.endpoint.OAuth2ClientCredentialsGrantRequest
-
Constructs an OAuth2ClientCredentialsGrantRequest using the provided parameters.
- OAuth2ClientCredentialsGrantRequestEntityConverter - Class in org.springframework.security.oauth2.client.endpoint
-
A
Converter that converts the provided
OAuth2ClientCredentialsGrantRequest
to a
RequestEntity representation of an OAuth 2.0 Access Token Request
for the Client Credentials Grant.
- OAuth2ClientCredentialsGrantRequestEntityConverter() - Constructor for class org.springframework.security.oauth2.client.endpoint.OAuth2ClientCredentialsGrantRequestEntityConverter
-
- oauth2Configuration() - Method in class org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction
-
- OAuth2ErrorResponseErrorHandler - Class in org.springframework.security.oauth2.client.http
-
A ResponseErrorHandler that handles an OAuth 2.0 Error.
- OAuth2ErrorResponseErrorHandler() - Constructor for class org.springframework.security.oauth2.client.http.OAuth2ErrorResponseErrorHandler
-
- OAuth2LoginAuthenticationFilter - Class in org.springframework.security.oauth2.client.web
-
An implementation of an AbstractAuthenticationProcessingFilter for OAuth 2.0 Login.
- OAuth2LoginAuthenticationFilter(ClientRegistrationRepository, OAuth2AuthorizedClientService) - Constructor for class org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter
-
Constructs an OAuth2LoginAuthenticationFilter using the provided parameters.
- OAuth2LoginAuthenticationFilter(ClientRegistrationRepository, OAuth2AuthorizedClientService, String) - Constructor for class org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter
-
Constructs an OAuth2LoginAuthenticationFilter using the provided parameters.
- OAuth2LoginAuthenticationFilter(ClientRegistrationRepository, OAuth2AuthorizedClientRepository, String) - Constructor for class org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter
-
Constructs an OAuth2LoginAuthenticationFilter using the provided parameters.
- OAuth2LoginAuthenticationProvider - Class in org.springframework.security.oauth2.client.authentication
-
An implementation of an AuthenticationProvider for OAuth 2.0 Login,
which leverages the OAuth 2.0 Authorization Code Grant Flow.
- OAuth2LoginAuthenticationProvider(OAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest>, OAuth2UserService<OAuth2UserRequest, OAuth2User>) - Constructor for class org.springframework.security.oauth2.client.authentication.OAuth2LoginAuthenticationProvider
-
Constructs an OAuth2LoginAuthenticationProvider using the provided parameters.
- OAuth2LoginAuthenticationToken - Class in org.springframework.security.oauth2.client.authentication
-
An AbstractAuthenticationToken for OAuth 2.0 Login,
which leverages the OAuth 2.0 Authorization Code Grant Flow.
- OAuth2LoginAuthenticationToken(ClientRegistration, OAuth2AuthorizationExchange) - Constructor for class org.springframework.security.oauth2.client.authentication.OAuth2LoginAuthenticationToken
-
This constructor should be used when the Authorization Request/Response is complete.
- OAuth2LoginAuthenticationToken(ClientRegistration, OAuth2AuthorizationExchange, OAuth2User, Collection<? extends GrantedAuthority>, OAuth2AccessToken) - Constructor for class org.springframework.security.oauth2.client.authentication.OAuth2LoginAuthenticationToken
-
This constructor should be used when the Access Token Request/Response is complete,
which indicates that the Authorization Code Grant flow has fully completed
and OAuth 2.0 Login has been achieved.
- OAuth2LoginAuthenticationToken(ClientRegistration, OAuth2AuthorizationExchange, OAuth2User, Collection<? extends GrantedAuthority>, OAuth2AccessToken, OAuth2RefreshToken) - Constructor for class org.springframework.security.oauth2.client.authentication.OAuth2LoginAuthenticationToken
-
This constructor should be used when the Access Token Request/Response is complete,
which indicates that the Authorization Code Grant flow has fully completed
and OAuth 2.0 Login has been achieved.
- OAuth2LoginAuthenticationWebFilter - Class in org.springframework.security.oauth2.client.web.server.authentication
-
- OAuth2LoginAuthenticationWebFilter(ReactiveAuthenticationManager, ServerOAuth2AuthorizedClientRepository) - Constructor for class org.springframework.security.oauth2.client.web.server.authentication.OAuth2LoginAuthenticationWebFilter
-
Creates an instance
- OAuth2LoginReactiveAuthenticationManager - Class in org.springframework.security.oauth2.client.authentication
-
An implementation of an AuthenticationProvider for OAuth 2.0 Login,
which leverages the OAuth 2.0 Authorization Code Grant Flow.
- OAuth2LoginReactiveAuthenticationManager(ReactiveOAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest>, ReactiveOAuth2UserService<OAuth2UserRequest, OAuth2User>) - Constructor for class org.springframework.security.oauth2.client.authentication.OAuth2LoginReactiveAuthenticationManager
-
- OAuth2UserRequest - Class in org.springframework.security.oauth2.client.userinfo
-
Represents a request the
OAuth2UserService uses
when initiating a request to the UserInfo Endpoint.
- OAuth2UserRequest(ClientRegistration, OAuth2AccessToken) - Constructor for class org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest
-
Constructs an OAuth2UserRequest using the provided parameters.
- OAuth2UserRequest(ClientRegistration, OAuth2AccessToken, Map<String, Object>) - Constructor for class org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest
-
Constructs an OAuth2UserRequest using the provided parameters.
- OAuth2UserRequestEntityConverter - Class in org.springframework.security.oauth2.client.userinfo
-
A
Converter that converts the provided
OAuth2UserRequest
to a
RequestEntity representation of a request for the UserInfo Endpoint.
- OAuth2UserRequestEntityConverter() - Constructor for class org.springframework.security.oauth2.client.userinfo.OAuth2UserRequestEntityConverter
-
- OAuth2UserService<R extends OAuth2UserRequest,U extends org.springframework.security.oauth2.core.user.OAuth2User> - Interface in org.springframework.security.oauth2.client.userinfo
-
Implementations of this interface are responsible for obtaining the user attributes
of the End-User (Resource Owner) from the UserInfo Endpoint
using the
Access Token
granted to the
Client
and returning an
AuthenticatedPrincipal in the form of an
OAuth2User.
- OidcAuthorizationCodeAuthenticationProvider - Class in org.springframework.security.oauth2.client.oidc.authentication
-
An implementation of an AuthenticationProvider
for the OpenID Connect Core 1.0 Authorization Code Grant Flow.
- OidcAuthorizationCodeAuthenticationProvider(OAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest>, OAuth2UserService<OidcUserRequest, OidcUser>) - Constructor for class org.springframework.security.oauth2.client.oidc.authentication.OidcAuthorizationCodeAuthenticationProvider
-
Constructs an OidcAuthorizationCodeAuthenticationProvider using the provided parameters.
- OidcAuthorizationCodeReactiveAuthenticationManager - Class in org.springframework.security.oauth2.client.oidc.authentication
-
An implementation of an AuthenticationProvider for OAuth 2.0 Login,
which leverages the OAuth 2.0 Authorization Code Grant Flow.
- OidcAuthorizationCodeReactiveAuthenticationManager(ReactiveOAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest>, ReactiveOAuth2UserService<OidcUserRequest, OidcUser>) - Constructor for class org.springframework.security.oauth2.client.oidc.authentication.OidcAuthorizationCodeReactiveAuthenticationManager
-
- OidcReactiveOAuth2UserService - Class in org.springframework.security.oauth2.client.oidc.userinfo
-
- OidcReactiveOAuth2UserService() - Constructor for class org.springframework.security.oauth2.client.oidc.userinfo.OidcReactiveOAuth2UserService
-
- OidcUserRequest - Class in org.springframework.security.oauth2.client.oidc.userinfo
-
Represents a request the
OidcUserService uses
when initiating a request to the UserInfo Endpoint.
- OidcUserRequest(ClientRegistration, OAuth2AccessToken, OidcIdToken) - Constructor for class org.springframework.security.oauth2.client.oidc.userinfo.OidcUserRequest
-
Constructs an OidcUserRequest using the provided parameters.
- OidcUserRequest(ClientRegistration, OAuth2AccessToken, OidcIdToken, Map<String, Object>) - Constructor for class org.springframework.security.oauth2.client.oidc.userinfo.OidcUserRequest
-
Constructs an OidcUserRequest using the provided parameters.
- OidcUserService - Class in org.springframework.security.oauth2.client.oidc.userinfo
-
An implementation of an
OAuth2UserService that supports OpenID Connect 1.0 Provider's.
- OidcUserService() - Constructor for class org.springframework.security.oauth2.client.oidc.userinfo.OidcUserService
-
- onAuthenticationSuccess(Authentication, WebFilterExchange) - Method in class org.springframework.security.oauth2.client.web.server.authentication.OAuth2LoginAuthenticationWebFilter
-
- org.springframework.security.oauth2.client - package org.springframework.security.oauth2.client
-
Core classes and interfaces providing support for OAuth 2.0 Client.
- org.springframework.security.oauth2.client.annotation - package org.springframework.security.oauth2.client.annotation
-
- org.springframework.security.oauth2.client.authentication - package org.springframework.security.oauth2.client.authentication
-
Support classes and interfaces for authenticating and authorizing a client
with an OAuth 2.0 Authorization Server using a specific authorization grant flow.
- org.springframework.security.oauth2.client.endpoint - package org.springframework.security.oauth2.client.endpoint
-
Classes and interfaces providing support to the client
for initiating requests to the Authorization Server's Protocol Endpoints.
- org.springframework.security.oauth2.client.http - package org.springframework.security.oauth2.client.http
-
- org.springframework.security.oauth2.client.oidc.authentication - package org.springframework.security.oauth2.client.oidc.authentication
-
Support classes and interfaces for authenticating and authorizing a client
with an OpenID Connect 1.0 Provider using a specific authorization grant flow.
- org.springframework.security.oauth2.client.oidc.userinfo - package org.springframework.security.oauth2.client.oidc.userinfo
-
Classes and interfaces providing support to the client for initiating requests
to the OpenID Connect 1.0 Provider's UserInfo Endpoint.
- org.springframework.security.oauth2.client.registration - package org.springframework.security.oauth2.client.registration
-
- org.springframework.security.oauth2.client.userinfo - package org.springframework.security.oauth2.client.userinfo
-
Classes and interfaces providing support to the client for initiating requests
to the OAuth 2.0 Authorization Server's UserInfo Endpoint.
- org.springframework.security.oauth2.client.web - package org.springframework.security.oauth2.client.web
-
OAuth 2.0 Client Filter's and supporting classes and interfaces.
- org.springframework.security.oauth2.client.web.method.annotation - package org.springframework.security.oauth2.client.web.method.annotation
-
- org.springframework.security.oauth2.client.web.reactive.function.client - package org.springframework.security.oauth2.client.web.reactive.function.client
-
- org.springframework.security.oauth2.client.web.reactive.result.method.annotation - package org.springframework.security.oauth2.client.web.reactive.result.method.annotation
-
- org.springframework.security.oauth2.client.web.server - package org.springframework.security.oauth2.client.web.server
-
- org.springframework.security.oauth2.client.web.server.authentication - package org.springframework.security.oauth2.client.web.server.authentication
-
- saveAuthorizationRequest(T, HttpServletRequest, HttpServletResponse) - Method in interface org.springframework.security.oauth2.client.web.AuthorizationRequestRepository
-
Persists the OAuth2AuthorizationRequest associating it to
the provided HttpServletRequest and/or HttpServletResponse.
- saveAuthorizationRequest(OAuth2AuthorizationRequest, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.security.oauth2.client.web.HttpSessionOAuth2AuthorizationRequestRepository
-
- saveAuthorizationRequest(T, ServerWebExchange) - Method in interface org.springframework.security.oauth2.client.web.server.ServerAuthorizationRequestRepository
-
Persists the OAuth2AuthorizationRequest associating it to
the provided HttpServletRequest and/or HttpServletResponse.
- saveAuthorizationRequest(OAuth2AuthorizationRequest, ServerWebExchange) - Method in class org.springframework.security.oauth2.client.web.server.WebSessionOAuth2ServerAuthorizationRequestRepository
-
- saveAuthorizedClient(OAuth2AuthorizedClient, Authentication) - Method in class org.springframework.security.oauth2.client.InMemoryOAuth2AuthorizedClientService
-
- saveAuthorizedClient(OAuth2AuthorizedClient, Authentication) - Method in class org.springframework.security.oauth2.client.InMemoryReactiveOAuth2AuthorizedClientService
-
- saveAuthorizedClient(OAuth2AuthorizedClient, Authentication) - Method in interface org.springframework.security.oauth2.client.OAuth2AuthorizedClientService
-
- saveAuthorizedClient(OAuth2AuthorizedClient, Authentication) - Method in interface org.springframework.security.oauth2.client.ReactiveOAuth2AuthorizedClientService
-
- saveAuthorizedClient(OAuth2AuthorizedClient, Authentication, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.security.oauth2.client.web.AuthenticatedPrincipalOAuth2AuthorizedClientRepository
-
- saveAuthorizedClient(OAuth2AuthorizedClient, Authentication, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.security.oauth2.client.web.HttpSessionOAuth2AuthorizedClientRepository
-
- saveAuthorizedClient(OAuth2AuthorizedClient, Authentication, HttpServletRequest, HttpServletResponse) - Method in interface org.springframework.security.oauth2.client.web.OAuth2AuthorizedClientRepository
-
- saveAuthorizedClient(OAuth2AuthorizedClient, Authentication, ServerWebExchange) - Method in class org.springframework.security.oauth2.client.web.server.AuthenticatedPrincipalServerOAuth2AuthorizedClientRepository
-
- saveAuthorizedClient(OAuth2AuthorizedClient, Authentication, ServerWebExchange) - Method in interface org.springframework.security.oauth2.client.web.server.ServerOAuth2AuthorizedClientRepository
-
- saveAuthorizedClient(OAuth2AuthorizedClient, Authentication, ServerWebExchange) - Method in class org.springframework.security.oauth2.client.web.server.UnAuthenticatedServerOAuth2AuthorizedClientRepository
-
- saveAuthorizedClient(OAuth2AuthorizedClient, Authentication, ServerWebExchange) - Method in class org.springframework.security.oauth2.client.web.server.WebSessionServerOAuth2AuthorizedClientRepository
-
- scope(String...) - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration.Builder
-
Sets the scope(s) used for the client.
- scope(Collection<String>) - Method in class org.springframework.security.oauth2.client.registration.ClientRegistration.Builder
-
Sets the scope(s) used for the client.
- ServerAuthorizationRequestRepository<T extends org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest> - Interface in org.springframework.security.oauth2.client.web.server
-
Implementations of this interface are responsible for the persistence
of OAuth2AuthorizationRequest between requests.
- ServerOAuth2AuthorizationCodeAuthenticationTokenConverter - Class in org.springframework.security.oauth2.client.web.server
-
- ServerOAuth2AuthorizationCodeAuthenticationTokenConverter(ReactiveClientRegistrationRepository) - Constructor for class org.springframework.security.oauth2.client.web.server.ServerOAuth2AuthorizationCodeAuthenticationTokenConverter
-
- ServerOAuth2AuthorizationRequestResolver - Interface in org.springframework.security.oauth2.client.web.server
-
Implementations of this interface are capable of resolving
an OAuth2AuthorizationRequest from the provided ServerWebExchange.
- ServerOAuth2AuthorizedClientExchangeFilterFunction - Class in org.springframework.security.oauth2.client.web.reactive.function.client
-
Provides an easy mechanism for using an
OAuth2AuthorizedClient to make OAuth2 requests by including the
token as a Bearer Token.
- ServerOAuth2AuthorizedClientExchangeFilterFunction(ReactiveClientRegistrationRepository, ServerOAuth2AuthorizedClientRepository) - Constructor for class org.springframework.security.oauth2.client.web.reactive.function.client.ServerOAuth2AuthorizedClientExchangeFilterFunction
-
- ServerOAuth2AuthorizedClientRepository - Interface in org.springframework.security.oauth2.client.web.server
-
Implementations of this interface are responsible for the persistence
of
Authorized Client(s) between requests.
- serverWebExchange(ServerWebExchange) - Static method in class org.springframework.security.oauth2.client.web.reactive.function.client.ServerOAuth2AuthorizedClientExchangeFilterFunction
-
Modifies the
ClientRequest.attributes() to include the
OAuth2AuthorizedClient to be used for
providing the Bearer Token.
- ServletOAuth2AuthorizedClientExchangeFilterFunction - Class in org.springframework.security.oauth2.client.web.reactive.function.client
-
Provides an easy mechanism for using an
OAuth2AuthorizedClient to make OAuth2 requests by including the
token as a Bearer Token.
- ServletOAuth2AuthorizedClientExchangeFilterFunction() - Constructor for class org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction
-
- ServletOAuth2AuthorizedClientExchangeFilterFunction(ClientRegistrationRepository, OAuth2AuthorizedClientRepository) - Constructor for class org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction
-
- setAccessTokenExpiresSkew(Duration) - Method in class org.springframework.security.oauth2.client.web.reactive.function.client.ServerOAuth2AuthorizedClientExchangeFilterFunction
-
An access token will be considered expired by comparing its expiration to now +
this skewed Duration.
- setAccessTokenExpiresSkew(Duration) - Method in class org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction
-
An access token will be considered expired by comparing its expiration to now +
this skewed Duration.
- setAnonymousAuthorizedClientRepository(OAuth2AuthorizedClientRepository) - Method in class org.springframework.security.oauth2.client.web.AuthenticatedPrincipalOAuth2AuthorizedClientRepository
-
- setAnonymousAuthorizedClientRepository(ServerOAuth2AuthorizedClientRepository) - Method in class org.springframework.security.oauth2.client.web.server.AuthenticatedPrincipalServerOAuth2AuthorizedClientRepository
-
- setAuthoritiesMapper(GrantedAuthoritiesMapper) - Method in class org.springframework.security.oauth2.client.authentication.OAuth2LoginAuthenticationProvider
-
Sets the
GrantedAuthoritiesMapper used for mapping
OAuth2User.getAuthorities()
to a new set of authorities which will be associated to the
OAuth2LoginAuthenticationToken.
- setAuthoritiesMapper(GrantedAuthoritiesMapper) - Method in class org.springframework.security.oauth2.client.oidc.authentication.OidcAuthorizationCodeAuthenticationProvider
-
Sets the
GrantedAuthoritiesMapper used for mapping
OAuth2User.getAuthorities()}
to a new set of authorities which will be associated to the
OAuth2LoginAuthenticationToken.
- setAuthorizationRequestRepository(AuthorizationRequestRepository<OAuth2AuthorizationRequest>) - Method in class org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter
-
Sets the repository for stored OAuth2AuthorizationRequest's.
- setAuthorizationRequestRepository(AuthorizationRequestRepository<OAuth2AuthorizationRequest>) - Method in class org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter
-
Sets the repository used for storing OAuth2AuthorizationRequest's.
- setAuthorizationRequestRepository(AuthorizationRequestRepository<OAuth2AuthorizationRequest>) - Method in class org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter
-
Sets the repository for stored OAuth2AuthorizationRequest's.
- setAuthorizationRequestRepository(ServerAuthorizationRequestRepository<OAuth2AuthorizationRequest>) - Method in class org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter
-
Sets the repository used for storing OAuth2AuthorizationRequest's.
- setAuthorizationRequestRepository(ServerAuthorizationRequestRepository<OAuth2AuthorizationRequest>) - Method in class org.springframework.security.oauth2.client.web.server.ServerOAuth2AuthorizationCodeAuthenticationTokenConverter
-
- setClientCredentialsTokenResponseClient(OAuth2AccessTokenResponseClient<OAuth2ClientCredentialsGrantRequest>) - Method in class org.springframework.security.oauth2.client.web.method.annotation.OAuth2AuthorizedClientArgumentResolver
-
Sets the client used when requesting an access token credential at the Token Endpoint for the client_credentials grant.
- setClientCredentialsTokenResponseClient(ReactiveOAuth2AccessTokenResponseClient<OAuth2ClientCredentialsGrantRequest>) - Method in class org.springframework.security.oauth2.client.web.reactive.function.client.ServerOAuth2AuthorizedClientExchangeFilterFunction
-
- setClientCredentialsTokenResponseClient(OAuth2AccessTokenResponseClient<OAuth2ClientCredentialsGrantRequest>) - Method in class org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction
-
- setDefaultClientRegistrationId(String) - Method in class org.springframework.security.oauth2.client.web.reactive.function.client.ServerOAuth2AuthorizedClientExchangeFilterFunction
-
- setDefaultClientRegistrationId(String) - Method in class org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction
-
- setDefaultOAuth2AuthorizedClient(boolean) - Method in class org.springframework.security.oauth2.client.web.reactive.function.client.ServerOAuth2AuthorizedClientExchangeFilterFunction
-
- setDefaultOAuth2AuthorizedClient(boolean) - Method in class org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction
-
- setOauth2UserService(ReactiveOAuth2UserService<OAuth2UserRequest, OAuth2User>) - Method in class org.springframework.security.oauth2.client.oidc.userinfo.OidcReactiveOAuth2UserService
-
- setOauth2UserService(OAuth2UserService<OAuth2UserRequest, OAuth2User>) - Method in class org.springframework.security.oauth2.client.oidc.userinfo.OidcUserService
-
- setRequestCache(RequestCache) - Method in class org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter
-
Sets the RequestCache used for storing the current request
before redirecting the OAuth 2.0 Authorization Request.
- setRequestEntityConverter(Converter<OAuth2AuthorizationCodeGrantRequest, RequestEntity<?>>) - Method in class org.springframework.security.oauth2.client.endpoint.DefaultAuthorizationCodeTokenResponseClient
-
- setRequestEntityConverter(Converter<OAuth2ClientCredentialsGrantRequest, RequestEntity<?>>) - Method in class org.springframework.security.oauth2.client.endpoint.DefaultClientCredentialsTokenResponseClient
-
- setRequestEntityConverter(Converter<OAuth2UserRequest, RequestEntity<?>>) - Method in class org.springframework.security.oauth2.client.userinfo.CustomUserTypesOAuth2UserService
-
Sets the
Converter used for converting the
OAuth2UserRequest
to a
RequestEntity representation of the UserInfo Request.
- setRequestEntityConverter(Converter<OAuth2UserRequest, RequestEntity<?>>) - Method in class org.springframework.security.oauth2.client.userinfo.DefaultOAuth2UserService
-
Sets the
Converter used for converting the
OAuth2UserRequest
to a
RequestEntity representation of the UserInfo Request.
- setRestOperations(RestOperations) - Method in class org.springframework.security.oauth2.client.endpoint.DefaultAuthorizationCodeTokenResponseClient
-
Sets the RestOperations used when requesting the OAuth 2.0 Access Token Response.
- setRestOperations(RestOperations) - Method in class org.springframework.security.oauth2.client.endpoint.DefaultClientCredentialsTokenResponseClient
-
Sets the RestOperations used when requesting the OAuth 2.0 Access Token Response.
- setRestOperations(RestOperations) - Method in class org.springframework.security.oauth2.client.userinfo.CustomUserTypesOAuth2UserService
-
Sets the RestOperations used when requesting the UserInfo resource.
- setRestOperations(RestOperations) - Method in class org.springframework.security.oauth2.client.userinfo.DefaultOAuth2UserService
-
Sets the RestOperations used when requesting the UserInfo resource.
- setWebClient(WebClient) - Method in class org.springframework.security.oauth2.client.userinfo.DefaultReactiveOAuth2UserService
-
Sets the WebClient used for retrieving the user endpoint
- supports(Class<?>) - Method in class org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeAuthenticationProvider
-
- supports(Class<?>) - Method in class org.springframework.security.oauth2.client.authentication.OAuth2LoginAuthenticationProvider
-
- supports(Class<?>) - Method in class org.springframework.security.oauth2.client.oidc.authentication.OidcAuthorizationCodeAuthenticationProvider
-
- supportsParameter(MethodParameter) - Method in class org.springframework.security.oauth2.client.web.method.annotation.OAuth2AuthorizedClientArgumentResolver
-
- supportsParameter(MethodParameter) - Method in class org.springframework.security.oauth2.client.web.reactive.result.method.annotation.OAuth2AuthorizedClientArgumentResolver
-