ADO.NET Provider for Microsoft Excel

Build 23.0.8839

OAuthPasswordGrantMode

How to pass Client Id and Secret with OAuthGrantType is set to Password.

Possible Values

Post, Basic

Data Type

string

Default Value

"Post"

Remarks

The OAuth RFC specifies two methods of passing the OAuthClientId and OAuthClientSecret when using the Password OAuthGrantType. The most commonly used is to pass them via post data to the service. However, some services may require that you pass them via the Authorize header as to be used in BASIC authorization. Change this property to Basic to submit the parameters as part of the Authorize header instead of the post data.

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