Cmdlets for OData

Build 20.0.7587

GetOAuthAuthorizationUrl

Gets an authorization URL from the data source. The authorization URL can be used to generate a verifier required to obtain the OAuth token.

Input

Name Type Description
CallbackURL String The URL the user will be redirected to after authorizing your application.
Other_Options String Other options to control the behavior of OAuth.
Cert String Path for a personal certificate .pfx file. Only available for OAuth 1.0.
Cert_Password String Personal certificate password. Only available for OAuth 1.0.
SignMethod String The signature method used to calculate the signature for OAuth 1.0.

The allowed values are HMAC-SHA1, HMAC-SHA256, RSA-SHA1, PLAINTEXT.

The default value is HMAC-SHA1.

OAuthParam:* String Other parameters may be defined in the format 'param:paramname'.

Result Set Columns

Name Type Description
AuthToken String The authorization token, passed into the GetOAuthAccessToken stored procedure.
AuthKey String The authorization secret token, passed into the GetOAuthAccessToken stored procedure.
URL String The authorization URL. This URL will need to be navigated to so that the user can authorize your application to have access. A verifier may be returned when the CallbackURL is redirected to, which will be used in GetOAuthAccessToken.
* String Other outputs that may be returned by the data source.

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7587