Class: Aws::Wickr::Types::OidcTokenInfo

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

Overview

Contains OAuth token information returned from the identity provider, including access tokens, ID tokens, and PKCE parameters used for secure authentication.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The OAuth access token that can be used to access protected resources on behalf of the authenticated user.

Returns:

  • (String)


2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
# File 'gems/aws-sdk-wickr/lib/aws-sdk-wickr/types.rb', line 2434

class OidcTokenInfo < Struct.new(
  :code_verifier,
  :code_challenge,
  :access_token,
  :id_token,
  :refresh_token,
  :token_type,
  :expires_in)
  SENSITIVE = []
  include Aws::Structure
end

#code_challengeString

The PKCE code challenge, a transformed version of the code verifier sent during the authorization request for verification.

Returns:

  • (String)


2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
# File 'gems/aws-sdk-wickr/lib/aws-sdk-wickr/types.rb', line 2434

class OidcTokenInfo < Struct.new(
  :code_verifier,
  :code_challenge,
  :access_token,
  :id_token,
  :refresh_token,
  :token_type,
  :expires_in)
  SENSITIVE = []
  include Aws::Structure
end

#code_verifierString

The PKCE (Proof Key for Code Exchange) code verifier, a cryptographically random string used to enhance security in the OAuth flow.

Returns:

  • (String)


2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
# File 'gems/aws-sdk-wickr/lib/aws-sdk-wickr/types.rb', line 2434

class OidcTokenInfo < Struct.new(
  :code_verifier,
  :code_challenge,
  :access_token,
  :id_token,
  :refresh_token,
  :token_type,
  :expires_in)
  SENSITIVE = []
  include Aws::Structure
end

#expires_inInteger

The lifetime of the access token in seconds, indicating when the token will expire and need to be refreshed.

Returns:

  • (Integer)


2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
# File 'gems/aws-sdk-wickr/lib/aws-sdk-wickr/types.rb', line 2434

class OidcTokenInfo < Struct.new(
  :code_verifier,
  :code_challenge,
  :access_token,
  :id_token,
  :refresh_token,
  :token_type,
  :expires_in)
  SENSITIVE = []
  include Aws::Structure
end

#id_tokenString

The OpenID Connect ID token containing user identity information and authentication context as a signed JWT.

Returns:

  • (String)


2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
# File 'gems/aws-sdk-wickr/lib/aws-sdk-wickr/types.rb', line 2434

class OidcTokenInfo < Struct.new(
  :code_verifier,
  :code_challenge,
  :access_token,
  :id_token,
  :refresh_token,
  :token_type,
  :expires_in)
  SENSITIVE = []
  include Aws::Structure
end

#refresh_tokenString

The OAuth refresh token that can be used to obtain new access tokens without requiring the user to re-authenticate.

Returns:

  • (String)


2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
# File 'gems/aws-sdk-wickr/lib/aws-sdk-wickr/types.rb', line 2434

class OidcTokenInfo < Struct.new(
  :code_verifier,
  :code_challenge,
  :access_token,
  :id_token,
  :refresh_token,
  :token_type,
  :expires_in)
  SENSITIVE = []
  include Aws::Structure
end

#token_typeString

The type of access token issued, typically 'Bearer', which indicates how the token should be used in API requests.

Returns:

  • (String)


2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
# File 'gems/aws-sdk-wickr/lib/aws-sdk-wickr/types.rb', line 2434

class OidcTokenInfo < Struct.new(
  :code_verifier,
  :code_challenge,
  :access_token,
  :id_token,
  :refresh_token,
  :token_type,
  :expires_in)
  SENSITIVE = []
  include Aws::Structure
end