public interface OAuth2AuthorizedClientProvider
@Nullable OAuth2AuthorizedClient authorize(OAuth2AuthorizationContext context)
clientin the provided context. Implementations must return
nullif authorization is not supported for the specified client, e.g. the provider doesn't support the
authorization granttype configured for the client.
context- the context that holds authorization-specific state for the client
nullif authorization is not supported for the specified client