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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


7734
7735
7736
7737
7738
7739
7740
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 7734

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)


7734
7735
7736
7737
7738
7739
7740
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 7734

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

#tokenString

The refresh token that you want to revoke.

Returns:

  • (String)


7734
7735
7736
7737
7738
7739
7740
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 7734

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