Interface ClientCredentialsClient

All Known Implementing Classes:
AbstractClientCredentialsClient, DefaultClientCredentialsClient, DefaultClientCredentialsOpenIdClient

public interface ClientCredentialsClient
Since:
2.2.0
Author:
Sergio del Amo
  • Method Details

    • requestToken

      @NonNull @NonNull org.reactivestreams.Publisher<TokenResponse> requestToken(@Nullable @Nullable String scope)
      Parameters:
      scope - Requested scope values for the access token.
      Returns:
      Response of an authorization server to a valid client credentials request.
    • requestToken

      @NonNull @NonNull org.reactivestreams.Publisher<TokenResponse> requestToken(@Nullable @Nullable String scope, boolean force)
      Parameters:
      scope - Requested scope values for the access token.
      force - true to invalidate the cached token response and fetch a new one
      Returns:
      Response of an authorization server to a valid client credentials request.
    • requestToken

      @NonNull default @NonNull org.reactivestreams.Publisher<TokenResponse> requestToken()
      Returns:
      Response of an authorization server to a valid client credentials request.
    • requestToken

      @NonNull default @NonNull org.reactivestreams.Publisher<TokenResponse> requestToken(boolean force)
      Parameters:
      force - true to invalidate the cached token response and fetch a new one
      Returns:
      Response of an authorization server to a valid client credentials request.