Learn R Programming

paws.security.identity (version 0.7.0)

cognitoidentityprovider_revoke_token: Revokes all of the access tokens generated by, and at the same time as, the specified refresh token

Description

Revokes all of the access tokens generated by, and at the same time as, the specified refresh token. After a token is revoked, you can't use the revoked token to access Amazon Cognito user APIs, or to authorize access to your resource server.

See https://www.paws-r-sdk.com/docs/cognitoidentityprovider_revoke_token/ for full documentation.

Usage

cognitoidentityprovider_revoke_token(Token, ClientId, ClientSecret = NULL)

Arguments

Token

[required] The refresh token that you want to revoke.

ClientId

[required] The client ID for the token that you want to revoke.

ClientSecret

The secret for the client ID. This is required only if the client ID has a secret.