public interface ClientCredentialsClient
Modifier and Type | Method and Description |
---|---|
default org.reactivestreams.Publisher<TokenResponse> |
requestToken() |
default org.reactivestreams.Publisher<TokenResponse> |
requestToken(boolean force) |
org.reactivestreams.Publisher<TokenResponse> |
requestToken(java.lang.String scope) |
org.reactivestreams.Publisher<TokenResponse> |
requestToken(java.lang.String scope,
boolean force) |
@NonNull org.reactivestreams.Publisher<TokenResponse> requestToken(@Nullable java.lang.String scope)
scope
- Requested scope values for the access token.@NonNull org.reactivestreams.Publisher<TokenResponse> requestToken(@Nullable java.lang.String scope, boolean force)
scope
- Requested scope values for the access token.force
- true to invalidate the cached token response and fetch a new one@NonNull default org.reactivestreams.Publisher<TokenResponse> requestToken()
@NonNull default org.reactivestreams.Publisher<TokenResponse> requestToken(boolean force)
force
- true to invalidate the cached token response and fetch a new one