/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.
iv_targeturl TYPE /AWS1/SAGTARGETURL /AWS1/SAGTARGETURL¶
The HTTPS URL of a self-hosted GitHub Enterprise Server instance. Omit this value for GitHub.com.
iv_installationid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.
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 |
targetUrl¶
The HTTPS URL of a self-hosted GitHub Enterprise Server instance. Omit this value for GitHub.com.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TARGETURL() |
Getter for TARGETURL, with configurable default |
ASK_TARGETURL() |
Getter for TARGETURL w/ exceptions if field has no value |
HAS_TARGETURL() |
Determine if TARGETURL has a value |
installationId¶
The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INSTALLATIONID() |
Getter for INSTALLATIONID, with configurable default |
ASK_INSTALLATIONID() |
Getter for INSTALLATIONID w/ exceptions if field has no valu |
HAS_INSTALLATIONID() |
Determine if INSTALLATIONID has a value |