Interface ClientCredentialsClient
- All Known Implementing Classes:
AbstractClientCredentialsClient
,DefaultClientCredentialsClient
,DefaultClientCredentialsOpenIdClient
public interface ClientCredentialsClient
- Since:
- 2.2.0
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.reactivestreams.Publisher<TokenResponse>
default org.reactivestreams.Publisher<TokenResponse>
requestToken
(boolean force) org.reactivestreams.Publisher<TokenResponse>
requestToken
(String scope) org.reactivestreams.Publisher<TokenResponse>
requestToken
(String scope, boolean force)
-
Method Details
-
requestToken
- Parameters:
scope
- Requested scope values for the access token.- Returns:
- Response of an authorization server to a valid client credentials request.
-
requestToken
@NonNull org.reactivestreams.Publisher<TokenResponse> requestToken(@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
- Returns:
- Response of an authorization server to a valid client credentials request.
-
requestToken
- 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.
-