Interface TokenOperationRequest
- All Superinterfaces:
OAuth2Request
An OAuth 2.0 request for token operations such as
OAuth 2.0 Token Revocation and
OAuth 2.0 Token Introspection
-
Method Summary
Modifier and TypeMethodDescriptionstatic TokenOperationRequest
of
(@Nullable ClientAuthentication clientAuthentication, String token, @Nullable String tokenTypeHint) Creates a new instance ofTokenOperationRequest
.token()
The token that the client wants to operate.The hint about the type of the token that the client wants to operate.Methods inherited from interface com.linecorp.armeria.common.auth.oauth2.OAuth2Request
addBodyParams, asHttpRequest, bodyParams, clientAuthentication
-
Method Details
-
of
static TokenOperationRequest of(@Nullable @Nullable ClientAuthentication clientAuthentication, String token, @Nullable @Nullable String tokenTypeHint) Creates a new instance ofTokenOperationRequest
.- Parameters:
clientAuthentication
- the client authenticationtoken
- the token that the client wants to operatetokenTypeHint
- the hint about the type of the token that the client wants to operate
-
token
String token()The token that the client wants to operate. -
tokenTypeHint
The hint about the type of the token that the client wants to operate.
-