Class: Aws::SSOOIDC::Types::CreateTokenResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

An opaque token to access AWS SSO resources assigned to a user.

Returns:

  • (String)


148
149
150
151
152
153
154
155
156
# File 'gems/aws-sdk-ssooidc/lib/aws-sdk-ssooidc/types.rb', line 148

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

#expires_inInteger

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

Returns:

  • (Integer)


148
149
150
151
152
153
154
155
156
# File 'gems/aws-sdk-ssooidc/lib/aws-sdk-ssooidc/types.rb', line 148

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

#id_tokenString

The identifier of the user that associated with the access token, if present.

Returns:

  • (String)


148
149
150
151
152
153
154
155
156
# File 'gems/aws-sdk-ssooidc/lib/aws-sdk-ssooidc/types.rb', line 148

class CreateTokenResponse < Struct.new(
  :access_token,
  :token_type,
  :expires_in,
  :refresh_token,
  :id_token)
  SENSITIVE = []
  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.

Returns:

  • (String)


148
149
150
151
152
153
154
155
156
# File 'gems/aws-sdk-ssooidc/lib/aws-sdk-ssooidc/types.rb', line 148

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

#token_typeString

Used to notify the client that the returned token is an access token. The supported type is BearerToken.

Returns:

  • (String)


148
149
150
151
152
153
154
155
156
# File 'gems/aws-sdk-ssooidc/lib/aws-sdk-ssooidc/types.rb', line 148

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