Class: Aws::CognitoIdentityProvider::Types::RevokeUserSessionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:access_token]

Instance Attribute Summary collapse

Instance Attribute Details

#access_token ⇒ String

A valid access token that Amazon Cognito issued to the user. Amazon Cognito uses this token to authorize the request and to identify the user.

Returns:

  • (String)


12171
12172
12173
12174
12175
12176
12177
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 12171

class RevokeUserSessionRequest < Struct.new(
  :access_token,
  :session_id,
  :revoke_associated_sessions)
  SENSITIVE = [:access_token]
  include Aws::Structure
end

#revoke_associated_sessions ⇒ String

Specifies whether to also revoke the sessions that are linked to the targeted session. NONE, the default, revokes only the targeted session. LINKED also revokes the directly linked session or sessions, interpreted relative to the type of the targeted session: revoking a token session also revokes the parent SSO session it came through, and revoking an SSO session also revokes the token sessions that came through it. The set of linked sessions is eventually consistent, so associated sessions are typically revoked within a few seconds.

Returns:

  • (String)


12171
12172
12173
12174
12175
12176
12177
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 12171

class RevokeUserSessionRequest < Struct.new(
  :access_token,
  :session_id,
  :revoke_associated_sessions)
  SENSITIVE = [:access_token]
  include Aws::Structure
end

#session_id ⇒ String

The ID of the session to revoke. This is a 28-character string of lowercase letters and digits, prefixed with tkn for a token session or sso for an SSO session. This value can't identify the caller's own current session.

Returns:

  • (String)


12171
12172
12173
12174
12175
12176
12177
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 12171

class RevokeUserSessionRequest < Struct.new(
  :access_token,
  :session_id,
  :revoke_associated_sessions)
  SENSITIVE = [:access_token]
  include Aws::Structure
end