Skip to content

/AWS1/CL_SAGGITHUBINTGINPUT

The input required to create a GitHub integration, including the OAuth authorization code and CSRF state.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_code TYPE /AWS1/SAGAUTHCODE /AWS1/SAGAUTHCODE

The OAuth authorization code received from GitHub.

iv_state TYPE /AWS1/SAGCSRFSTATE /AWS1/SAGCSRFSTATE

The CSRF state token for validating the OAuth flow.

Optional arguments:

iv_organizationname TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING

The name of the GitHub organization to integrate with.


Queryable Attributes

code

The OAuth authorization code received from GitHub.

Accessible with the following methods

Method Description
GET_CODE() Getter for CODE, with configurable default
ASK_CODE() Getter for CODE w/ exceptions if field has no value
HAS_CODE() Determine if CODE has a value

state

The CSRF state token for validating the OAuth flow.

Accessible with the following methods

Method Description
GET_STATE() Getter for STATE, with configurable default
ASK_STATE() Getter for STATE w/ exceptions if field has no value
HAS_STATE() Determine if STATE has a value

organizationName

The name of the GitHub organization to integrate with.

Accessible with the following methods

Method Description
GET_ORGANIZATIONNAME() Getter for ORGANIZATIONNAME, with configurable default
ASK_ORGANIZATIONNAME() Getter for ORGANIZATIONNAME w/ exceptions if field has no va
HAS_ORGANIZATIONNAME() Determine if ORGANIZATIONNAME has a value