Class: Aws::SSOOIDC::Types::CreateTokenWithIAMResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[:access_token, :refresh_token, :id_token]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

A bearer token to access Amazon Web Services accounts and applications assigned to a user.

Returns:

  • (String)


363
364
365
366
367
368
369
370
371
372
373
# File 'gems/aws-sdk-core/lib/aws-sdk-ssooidc/types.rb', line 363

class CreateTokenWithIAMResponse < Struct.new(
  :access_token,
  :token_type,
  :expires_in,
  :refresh_token,
  :id_token,
  :issued_token_type,
  :scope)
  SENSITIVE = [:access_token, :refresh_token, :id_token]
  include Aws::Structure
end

#expires_inInteger

Indicates the time in seconds when an access token will expire.

Returns:

  • (Integer)


363
364
365
366
367
368
369
370
371
372
373
# File 'gems/aws-sdk-core/lib/aws-sdk-ssooidc/types.rb', line 363

class CreateTokenWithIAMResponse < Struct.new(
  :access_token,
  :token_type,
  :expires_in,
  :refresh_token,
  :id_token,
  :issued_token_type,
  :scope)
  SENSITIVE = [:access_token, :refresh_token, :id_token]
  include Aws::Structure
end

#id_tokenString

A JSON Web Token (JWT) that identifies the user associated with the issued access token.

Returns:

  • (String)


363
364
365
366
367
368
369
370
371
372
373
# File 'gems/aws-sdk-core/lib/aws-sdk-ssooidc/types.rb', line 363

class CreateTokenWithIAMResponse < Struct.new(
  :access_token,
  :token_type,
  :expires_in,
  :refresh_token,
  :id_token,
  :issued_token_type,
  :scope)
  SENSITIVE = [:access_token, :refresh_token, :id_token]
  include Aws::Structure
end

#issued_token_typeString

Indicates the type of tokens that are issued by IAM Identity Center. The following values are supported:

  • Access Token - urn:ietf:params:oauth:token-type:access_token

  • Refresh Token - urn:ietf:params:oauth:token-type:refresh_token

Returns:

  • (String)


363
364
365
366
367
368
369
370
371
372
373
# File 'gems/aws-sdk-core/lib/aws-sdk-ssooidc/types.rb', line 363

class CreateTokenWithIAMResponse < Struct.new(
  :access_token,
  :token_type,
  :expires_in,
  :refresh_token,
  :id_token,
  :issued_token_type,
  :scope)
  SENSITIVE = [:access_token, :refresh_token, :id_token]
  include Aws::Structure
end

#refresh_tokenString

A token that, if present, can be used to refresh a previously issued access token that might have expired.

For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

Returns:

  • (String)


363
364
365
366
367
368
369
370
371
372
373
# File 'gems/aws-sdk-core/lib/aws-sdk-ssooidc/types.rb', line 363

class CreateTokenWithIAMResponse < Struct.new(
  :access_token,
  :token_type,
  :expires_in,
  :refresh_token,
  :id_token,
  :issued_token_type,
  :scope)
  SENSITIVE = [:access_token, :refresh_token, :id_token]
  include Aws::Structure
end

#scopeArray<String>

The list of scopes for which authorization is granted. The access token that is issued is limited to the scopes that are granted.

Returns:

  • (Array<String>)


363
364
365
366
367
368
369
370
371
372
373
# File 'gems/aws-sdk-core/lib/aws-sdk-ssooidc/types.rb', line 363

class CreateTokenWithIAMResponse < Struct.new(
  :access_token,
  :token_type,
  :expires_in,
  :refresh_token,
  :id_token,
  :issued_token_type,
  :scope)
  SENSITIVE = [:access_token, :refresh_token, :id_token]
  include Aws::Structure
end

#token_typeString

Used to notify the requester that the returned token is an access token. The supported token type is Bearer.

Returns:

  • (String)


363
364
365
366
367
368
369
370
371
372
373
# File 'gems/aws-sdk-core/lib/aws-sdk-ssooidc/types.rb', line 363

class CreateTokenWithIAMResponse < Struct.new(
  :access_token,
  :token_type,
  :expires_in,
  :refresh_token,
  :id_token,
  :issued_token_type,
  :scope)
  SENSITIVE = [:access_token, :refresh_token, :id_token]
  include Aws::Structure
end