GetOAuthAccessToken
Fetches the OAuth Access Token, which is used to authenticate and authorize API calls made to GitHub.
Input
Name | Type | Description |
AuthMode | String | The type of authentication mode to use. The allowed values are 'APP' for application-based authentication or 'WEB' for web-based authentication. |
Verifier | String | The verifier token returned by GitHub after using the URL obtained from the 'GetOAuthAuthorizationURL' process. This is required only for the Web authentication mode. |
Scope | String | The scope or permissions that you are requesting from the user. |
CallbackUrl | String | The URL where the user is redirected to after they authorize your application. |
State | String | This field holds any state useful to your application upon receiving the response. The same value you sent is returned to you. This can be used for redirection purposes, handling nonces, or mitigating cross-site request forgery. |
Result Set Columns
Name | Type | Description |
OAuthAccessToken | String | The authentication token returned by GitHub for accessing the user's GitHub data. |
OAuthRefreshToken | String | An OAuth Refresh Token used to obtain a new access token when the current one expires. |
ExpiresIn | String | The remaining lifetime of the access token in seconds. |