Gets an authentication token from DigitalOcean.
|AuthMode||String||False|| The type of authentication mode to use. Select App for getting authentication tokens via a desktop app. Select Web for getting authentication tokens via a Web app.
The allowed values are APP, WEB.
The default value is APP.
|Scope||String||False|| A comma-separated list of scopes to request from the user. Please check the DigitalOcean API for a list of available scopes.
The default value is read write.
|CallbackUrl||String||False||The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL you have specified in the DigitalOcean app settings. Only needed when the Authmode parameter is Web.|
|Verifier||String||False||The verifier returned from DigitalOcean after the user has authorized your app to have access to their data. This value will be returned as a parameter to the callback URL.|
|State||String||False||An arbitrary string of your choosing that is returned to your app; a successful roundtrip of this string helps ensure that your app initiated the request.|
Result Set Columns
|OAuthAccessToken||String||The access token used for communication with DigitalOcean.|
|OAuthRefreshToken||String||A token that may be used to obtain a new access token.|
|ExpiresIn||String||The remaining lifetime on the access token in seconds.|