Class: Aws::CredentialBroker::Types::StartOAuthSessionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:custom_parameters, :custom_state]

Instance Attribute Summary collapse

Instance Attribute Details

#audiences ⇒ Array<String>

Audience values (RFC 8693) naming the intended recipients of this token. Omit unless the authorization server requires them.

Returns:

  • (Array<String>)


354
355
356
357
358
359
360
361
362
363
364
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 354

class StartOAuthSessionRequest < Struct.new(
  :credential_provider_arn,
  :scopes,
  :session_binding_url,
  :resources,
  :audiences,
  :custom_parameters,
  :custom_state)
  SENSITIVE = [:custom_parameters, :custom_state]
  include Aws::Structure
end

#credential_provider_arn ⇒ String

Amazon Resource Name of the credential provider the user is granting consent for.

Returns:

  • (String)


354
355
356
357
358
359
360
361
362
363
364
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 354

class StartOAuthSessionRequest < Struct.new(
  :credential_provider_arn,
  :scopes,
  :session_binding_url,
  :resources,
  :audiences,
  :custom_parameters,
  :custom_state)
  SENSITIVE = [:custom_parameters, :custom_state]
  include Aws::Structure
end

#custom_parameters ⇒ Hash<String,String>

Extra parameters to include in the request to the authorization server, for vendor extensions. Added to the standard OAuth parameters; they never override them.

Returns:

  • (Hash<String,String>)


354
355
356
357
358
359
360
361
362
363
364
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 354

class StartOAuthSessionRequest < Struct.new(
  :credential_provider_arn,
  :scopes,
  :session_binding_url,
  :resources,
  :audiences,
  :custom_parameters,
  :custom_state)
  SENSITIVE = [:custom_parameters, :custom_state]
  include Aws::Structure
end

#custom_state ⇒ String

An opaque string of your own that is sent back to your session-binding URL unchanged. Use it to tie the response to the request you issued, so your handler can reject a response it did not initiate.

Returns:

  • (String)


354
355
356
357
358
359
360
361
362
363
364
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 354

class StartOAuthSessionRequest < Struct.new(
  :credential_provider_arn,
  :scopes,
  :session_binding_url,
  :resources,
  :audiences,
  :custom_parameters,
  :custom_state)
  SENSITIVE = [:custom_parameters, :custom_state]
  include Aws::Structure
end

#resources ⇒ Array<String>

Resource indicators (RFC 8707) naming the APIs this token is for. Omit unless the authorization server requires them.

Returns:

  • (Array<String>)


354
355
356
357
358
359
360
361
362
363
364
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 354

class StartOAuthSessionRequest < Struct.new(
  :credential_provider_arn,
  :scopes,
  :session_binding_url,
  :resources,
  :audiences,
  :custom_parameters,
  :custom_state)
  SENSITIVE = [:custom_parameters, :custom_state]
  include Aws::Structure
end

#scopes ⇒ Array<String>

The OAuth scopes to request from the authorization server.

Returns:

  • (Array<String>)


354
355
356
357
358
359
360
361
362
363
364
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 354

class StartOAuthSessionRequest < Struct.new(
  :credential_provider_arn,
  :scopes,
  :session_binding_url,
  :resources,
  :audiences,
  :custom_parameters,
  :custom_state)
  SENSITIVE = [:custom_parameters, :custom_state]
  include Aws::Structure
end

#session_binding_url ⇒ String

The URL the end user's browser is returned to once they have responded to the consent prompt. Must match one of the session-binding URLs allowed on the provider.

Returns:

  • (String)


354
355
356
357
358
359
360
361
362
363
364
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 354

class StartOAuthSessionRequest < Struct.new(
  :credential_provider_arn,
  :scopes,
  :session_binding_url,
  :resources,
  :audiences,
  :custom_parameters,
  :custom_state)
  SENSITIVE = [:custom_parameters, :custom_state]
  include Aws::Structure
end