Package io.moov.sdk.models.components
Class RevokeTokenRequest.Builder
- java.lang.Object
-
- io.moov.sdk.models.components.RevokeTokenRequest.Builder
-
- Enclosing class:
- RevokeTokenRequest
public static final class RevokeTokenRequest.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RevokeTokenRequestbuild()RevokeTokenRequest.BuilderclientId(java.lang.String clientId)Client ID can be provided here in the body, or as the Username in HTTP Basic Auth.RevokeTokenRequest.BuilderclientId(java.util.Optional<java.lang.String> clientId)Client ID can be provided here in the body, or as the Username in HTTP Basic Auth.RevokeTokenRequest.BuilderclientSecret(java.lang.String clientSecret)Client secret can be provided here in the body, or as the Password in HTTP Basic Auth.RevokeTokenRequest.BuilderclientSecret(java.util.Optional<java.lang.String> clientSecret)Client secret can be provided here in the body, or as the Password in HTTP Basic Auth.RevokeTokenRequest.Buildertoken(java.lang.String token)The access or refresh token to revoke.RevokeTokenRequest.BuildertokenTypeHint(TokenTypeHint tokenTypeHint)The type of token being revoked.RevokeTokenRequest.BuildertokenTypeHint(java.util.Optional<? extends TokenTypeHint> tokenTypeHint)The type of token being revoked.
-
-
-
Method Detail
-
token
public RevokeTokenRequest.Builder token(java.lang.String token)
The access or refresh token to revoke.
-
tokenTypeHint
public RevokeTokenRequest.Builder tokenTypeHint(TokenTypeHint tokenTypeHint)
The type of token being revoked.
-
tokenTypeHint
public RevokeTokenRequest.Builder tokenTypeHint(java.util.Optional<? extends TokenTypeHint> tokenTypeHint)
The type of token being revoked.
-
clientId
public RevokeTokenRequest.Builder clientId(java.lang.String clientId)
Client ID can be provided here in the body, or as the Username in HTTP Basic Auth.
-
clientId
public RevokeTokenRequest.Builder clientId(java.util.Optional<java.lang.String> clientId)
Client ID can be provided here in the body, or as the Username in HTTP Basic Auth.
-
clientSecret
public RevokeTokenRequest.Builder clientSecret(java.lang.String clientSecret)
Client secret can be provided here in the body, or as the Password in HTTP Basic Auth.
-
clientSecret
public RevokeTokenRequest.Builder clientSecret(java.util.Optional<java.lang.String> clientSecret)
Client secret can be provided here in the body, or as the Password in HTTP Basic Auth.
-
build
public RevokeTokenRequest build()
-
-