Modifier and Type | Method and Description |
---|---|
static OAuth2Authorization.Builder | OAuth2Authorization.withRegisteredClient(RegisteredClient registeredClient) Returns a new OAuth2Authorization.Builder , initialized with the provided getId() . |
Modifier and Type | Method and Description |
---|---|
RegisteredClient | OAuth2ClientAuthenticationToken.getRegisteredClient() Returns the registered client . |
RegisteredClient | OAuth2AccessTokenAuthenticationToken.getRegisteredClient() Returns the registered client . |
Constructor and Description |
---|
OAuth2AccessTokenAuthenticationToken(RegisteredClient registeredClient, Authentication clientPrincipal, OAuth2AccessToken accessToken) Constructs an OAuth2AccessTokenAuthenticationToken using the provided parameters. |
OAuth2ClientAuthenticationToken(RegisteredClient registeredClient) Constructs an OAuth2ClientAuthenticationToken using the provided parameters. |
Modifier and Type | Method and Description |
---|---|
RegisteredClient | RegisteredClient.Builder.build() Builds a new RegisteredClient . |
RegisteredClient | RegisteredClientRepository.findByClientId(String clientId) Returns the registered client identified by the provided clientId , or null if not found. |
RegisteredClient | InMemoryRegisteredClientRepository.findByClientId(String clientId) |
RegisteredClient | RegisteredClientRepository.findById(String id) Returns the registered client identified by the provided id , or null if not found. |
RegisteredClient | InMemoryRegisteredClientRepository.findById(String id) |
Modifier and Type | Method and Description |
---|---|
static RegisteredClient.Builder | RegisteredClient.withRegisteredClient(RegisteredClient registeredClient) Returns a new RegisteredClient.Builder , initialized with the provided RegisteredClient . |
Constructor and Description |
---|
Builder(RegisteredClient registeredClient) |
InMemoryRegisteredClientRepository(RegisteredClient... registrations) Constructs an InMemoryRegisteredClientRepository using the provided parameters. |
Constructor and Description |
---|
InMemoryRegisteredClientRepository(List<RegisteredClient> registrations) Constructs an InMemoryRegisteredClientRepository using the provided parameters. |