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

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

Overview

Deprecated. This shape is retained only for backward compatibility. Do not use GetOidcInfo for OIDC token exchange. 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_token ⇒ String

Deprecated as part of OidcTokenInfo, which is retained only for backward compatibility. Do not use GetOidcInfo for OIDC token exchange. The OAuth access token that can be used to access protected resources on behalf of the authenticated user.

Returns:

  • (String)


2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
# File 'gems/aws-sdk-wickr/lib/aws-sdk-wickr/types.rb', line 2648

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

#code_challenge ⇒ String

Deprecated as part of OidcTokenInfo, which is retained only for backward compatibility. Do not use GetOidcInfo for OIDC token exchange. The PKCE code challenge, a transformed version of the code verifier sent during the authorization request for verification.

Returns:

  • (String)


2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
# File 'gems/aws-sdk-wickr/lib/aws-sdk-wickr/types.rb', line 2648

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

#code_verifier ⇒ String

Deprecated as part of OidcTokenInfo, which is retained only for backward compatibility. Do not use GetOidcInfo for OIDC token exchange. The PKCE (Proof Key for Code Exchange) code verifier, a cryptographically random string used to enhance security in the OAuth flow.

Returns:

  • (String)


2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
# File 'gems/aws-sdk-wickr/lib/aws-sdk-wickr/types.rb', line 2648

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

#expires_in ⇒ Integer

Deprecated as part of OidcTokenInfo, which is retained only for backward compatibility. Do not use GetOidcInfo for OIDC token exchange. The lifetime of the access token in seconds, indicating when the token will expire and need to be refreshed.

Returns:

  • (Integer)


2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
# File 'gems/aws-sdk-wickr/lib/aws-sdk-wickr/types.rb', line 2648

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

#id_token ⇒ String

Deprecated as part of OidcTokenInfo, which is retained only for backward compatibility. Do not use GetOidcInfo for OIDC token exchange. The OpenID Connect ID token containing user identity information and authentication context as a signed JWT.

Returns:

  • (String)


2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
# File 'gems/aws-sdk-wickr/lib/aws-sdk-wickr/types.rb', line 2648

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

#refresh_token ⇒ String

Deprecated as part of OidcTokenInfo, which is retained only for backward compatibility. Do not use GetOidcInfo for OIDC token exchange. The OAuth refresh token that can be used to obtain new access tokens without requiring the user to re-authenticate.

Returns:

  • (String)


2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
# File 'gems/aws-sdk-wickr/lib/aws-sdk-wickr/types.rb', line 2648

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

#token_type ⇒ String

Deprecated as part of OidcTokenInfo, which is retained only for backward compatibility. Do not use GetOidcInfo for OIDC token exchange. The type of access token issued, typically 'Bearer', which indicates how the token should be used in API requests.

Returns:

  • (String)


2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
# File 'gems/aws-sdk-wickr/lib/aws-sdk-wickr/types.rb', line 2648

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