Cmdlets for Microsoft Excel

Build 24.0.9060

OAuthPasswordGrantMode Parameter (Connect-Excel Cmdlet)

Specifies how the OAuth Client Id and Client Secret should be passed. Supported options: BASIC and POST.

Syntax

Connect-Excel -OAuthPasswordGrantMode string

Possible Values

Post, Basic

Data Type

cstr

Default Value

"Post"

Remarks

The OAuth RFC provides two methods of passing the OAuthClientId and OAuthClientSecret. POST passes OAuthClientId and OAuthClientSecret via post data. (Works with OAuthGrantType = PASSWORD, CODE, or CLIENT.) BASIC passes the OAuthClientId and OAuthClientSecret via the Authorize header. (Works with OAuthGrantType = CODE or CLIENT.)

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