Class AuthRevokeRequest.AuthRevokeRequestBuilder
- java.lang.Object
-
- com.slack.api.methods.request.auth.AuthRevokeRequest.AuthRevokeRequestBuilder
-
- Enclosing class:
- AuthRevokeRequest
public static class AuthRevokeRequest.AuthRevokeRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthRevokeRequest
build()
AuthRevokeRequest.AuthRevokeRequestBuilder
test(boolean test)
Setting this parameter to `1` triggers a _testing mode_ where the specified token will not actually be revoked.AuthRevokeRequest.AuthRevokeRequestBuilder
token(String token)
Authentication token.String
toString()
-
-
-
Method Detail
-
token
public AuthRevokeRequest.AuthRevokeRequestBuilder token(String token)
Authentication token. Requires scope: `none`- Returns:
this
.
-
test
public AuthRevokeRequest.AuthRevokeRequestBuilder test(boolean test)
Setting this parameter to `1` triggers a _testing mode_ where the specified token will not actually be revoked.- Returns:
this
.
-
build
public AuthRevokeRequest build()
-
-