If using a Windows application, set Authmode to App. If using a
Web app, set Authmode to Web and specify the Verifier
obtained by GetOAuthAuthorizationUrl.
Input
| Name |
Type
|
Required
|
Description
|
| AuthMode
|
String
|
False
|
The type of authentication mode to use. The
allowed values are APP, WEB.
|
| CallbackUrl
|
String
|
False
|
The page to return the user after
authorization is complete.
|
| Verifier
|
String
|
False
|
The verifier code returned by Snowflake
after permissions have been granted for
the app to connect. WEB Authmode only.
|
| PKCEVerifier
|
String
|
False
|
The PKCEVerifier returned by
GetOAuthAuthorizationURL.
|
| Prompt
|
String
|
False
|
Defaults to 'select_account' which prompts
the user to select account while
authenticating. Set to 'None', for no
prompt, 'login' to force user to enter
their credentials or 'consent' to trigger
the OAuth consent dialog after the user
signs in, asking the user to grant
permissions to the app.
|
Result Set Columns
| Name |
Type |
Description
|
|
OAuthRefreshToken
|
String
|
A token that may be used to obtain a new
access token.
|
| OAuthAccessToken
|
String
|
The OAuth access token.
|
| ExpiresIn
|
String
|
The remaining lifetime on the access token.
A -1 denotes that it will not expire.
|