Class TokenRelayTokenSupplier

java.lang.Object
org.springframework.grpc.client.interceptor.security.TokenRelayTokenSupplier
All Implemented Interfaces:
TokenSupplier

public class TokenRelayTokenSupplier extends Object implements TokenSupplier
A supplier that provides OAuth2 access tokens using the client credentials grant type. This supplier retrieves the client registration from the provided repository and uses it to request an access token from the authorization server.
Author:
Dave Syer
  • Constructor Details

    • TokenRelayTokenSupplier

      public TokenRelayTokenSupplier(org.springframework.security.oauth2.client.OAuth2AuthorizedClientManager manager)
  • Method Details