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

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

Overview

Constant Summary collapse

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

Instance Attribute Summary collapse

Instance Attribute Details

#client_id ⇒ String

The ID of the app client where the token that you want to revoke was issued.

Returns:

  • (String)


12131
12132
12133
12134
12135
12136
12137
12138
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 12131

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

#client_secret ⇒ String

The client secret of the requested app client, if the client has a secret.

Returns:

  • (String)


12131
12132
12133
12134
12135
12136
12137
12138
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 12131

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

#revoke_associated_sessions ⇒ String

Specifies whether to also revoke the SSO session that is linked to the token session being revoked. NONE, the default, revokes only the token session that is associated with the refresh token. LINKED also revokes the parent SSO session that the token session came through; the other token sessions that came through that SSO session aren't revoked. LINKED has no effect when session tracking is disabled or when the token session has no parent SSO session.

Returns:

  • (String)


12131
12132
12133
12134
12135
12136
12137
12138
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 12131

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

#token ⇒ String

The refresh token that you want to revoke.

Returns:

  • (String)


12131
12132
12133
12134
12135
12136
12137
12138
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 12131

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