Class: Aws::Continuum::Types::GitHubAuthorizationConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::Continuum::Types::GitHubAuthorizationConfiguration
- Defined in:
- gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb
Overview
Write-only OAuth credentials used to authorize a GitHub.com integration. Not stored or returned after creation.
Constant Summary collapse
- SENSITIVE =
[:authorization_code, :state]
Instance Attribute Summary collapse
-
#authorization_code ⇒ String
The OAuth authorization code returned by GitHub after the user authorizes the application.
-
#redirect_url ⇒ String
The redirect URL used to obtain the authorization code.
-
#state ⇒ String
The
statereturned by GitHub in the OAuth callback.
Instance Attribute Details
#authorization_code ⇒ String
The OAuth authorization code returned by GitHub after the user authorizes the application.
2363 2364 2365 2366 2367 2368 2369 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2363 class GitHubAuthorizationConfiguration < Struct.new( :authorization_code, :state, :redirect_url) SENSITIVE = [:authorization_code, :state] include Aws::Structure end |
#redirect_url ⇒ String
The redirect URL used to obtain the authorization code. Must match one of the redirect URLs registered on the GitHub App. If omitted, the App's default redirect URL is used. Not stored or returned after creation.
2363 2364 2365 2366 2367 2368 2369 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2363 class GitHubAuthorizationConfiguration < Struct.new( :authorization_code, :state, :redirect_url) SENSITIVE = [:authorization_code, :state] include Aws::Structure end |
#state ⇒ String
The state returned by GitHub in the OAuth callback. It must be the
state that StartIntegrationAuthorization returned to the same AWS
account, and the authorization request must have sent that call's
codeChallenge. The state can be redeemed once. A stage that enforces
authorization sessions rejects a missing, expired, already used, or
other-account state with ValidationException; restart the
authorization with StartIntegrationAuthorization.
2363 2364 2365 2366 2367 2368 2369 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2363 class GitHubAuthorizationConfiguration < Struct.new( :authorization_code, :state, :redirect_url) SENSITIVE = [:authorization_code, :state] include Aws::Structure end |