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 @NonNull org.reactivestreams.Publisher<TokenResponse>
default @NonNull org.reactivestreams.Publisher<TokenResponse>
requestToken
(boolean force) @NonNull org.reactivestreams.Publisher<TokenResponse>
requestToken
(@Nullable String scope) @NonNull org.reactivestreams.Publisher<TokenResponse>
requestToken
(@Nullable String scope, boolean force)
-
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
- 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.
-