Class AbstractOAuth2TokenAuthenticationToken.AbstractOAuth2TokenAuthenticationBuilder<T extends org.springframework.security.oauth2.core.OAuth2Token,B extends AbstractOAuth2TokenAuthenticationToken.AbstractOAuth2TokenAuthenticationBuilder<T,B>>
java.lang.Object
org.springframework.security.oauth2.server.resource.authentication.AbstractOAuth2TokenAuthenticationToken.AbstractOAuth2TokenAuthenticationBuilder<T,B>
- Type Parameters:
B-
- All Implemented Interfaces:
org.springframework.security.core.Authentication.Builder<B>
- Direct Known Subclasses:
BearerTokenAuthentication.Builder,JwtAuthenticationToken.Builder
- Enclosing class:
- AbstractOAuth2TokenAuthenticationToken<T extends org.springframework.security.oauth2.core.OAuth2Token>
public abstract static class AbstractOAuth2TokenAuthenticationToken.AbstractOAuth2TokenAuthenticationBuilder<T extends org.springframework.security.oauth2.core.OAuth2Token,B extends AbstractOAuth2TokenAuthenticationToken.AbstractOAuth2TokenAuthenticationBuilder<T,B>>
extends Object
A builder for
AbstractOAuth2TokenAuthenticationToken implementations- Since:
- 7.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.core.Authentication.Builder
build
-
Constructor Details
-
AbstractOAuth2TokenAuthenticationBuilder
-
-
Method Details
-
principal
-
credentials
-
token
The OAuth 2.0 Token to use- Parameters:
token- the token to use- Returns:
- the
Authentication.Builderfor further configurations
-