ADO.NET Provider for SAP Gateway

Build 24.0.9060

GetOAuthAccessToken

Gets the OAuth access token from SAPGateway.

Input

Name Type Required Description
AuthMode String False The type of authentication mode to use. The allowed values are APP, WEB.

The allowed values are APP, WEB.

The default value is WEB.

Verifier String False The verifier token returned by SAPGateway after using the URL obtained with GetOAuthAuthorizationURL. Required if AuthMode is set to WEB.
CallbackUrl String False The URL the user will be redirected to after authorizing your application.
Scope String False The scope or permissions you are requesting. In AuthMode = APP, the scope must be provided unless it's defined as a connection property.
State String False Any value that you wish to be sent with the callback.

Result Set Columns

Name Type Description
OAuthAccessToken String The authentication token returned from SAPGateway.
OAuthRefreshToken String A token that may be used to obtain a new access token.
ExpiresIn String The remaining lifetime for the access token in seconds.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060