AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::CognitoIdentityProvider::Types::RevokeTokenRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

Note:

When making an API call, you may pass RevokeTokenRequest data as a hash:

{
  token: "TokenModelType", # required
  client_id: "ClientIdType", # required
  client_secret: "ClientSecretType",
}

Constant Summary collapse

SENSITIVE =
[:token, :client_id, :client_secret]

Instance Attribute Summary collapse

Instance Attribute Details

#client_idString

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

Returns:

  • (String)


7648
7649
7650
7651
7652
7653
7654
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 7648

class RevokeTokenRequest < Struct.new(
  :token,
  :client_id,
  :client_secret)
  SENSITIVE = [:token, :client_id, :client_secret]
  include Aws::Structure
end

#client_secretString

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

Returns:

  • (String)


7648
7649
7650
7651
7652
7653
7654
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 7648

class RevokeTokenRequest < Struct.new(
  :token,
  :client_id,
  :client_secret)
  SENSITIVE = [:token, :client_id, :client_secret]
  include Aws::Structure
end

#tokenString

The token that you want to revoke.

Returns:

  • (String)


7648
7649
7650
7651
7652
7653
7654
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 7648

class RevokeTokenRequest < Struct.new(
  :token,
  :client_id,
  :client_secret)
  SENSITIVE = [:token, :client_id, :client_secret]
  include Aws::Structure
end