Skip to content

Enumeration: TokenExchangeCredentialsLocation

Defined in: types.ts:690

Where to pass the client credentials (client ID and client secret) when making the OAuth2 token exchange request. Used in OAuth2StaticCodeAuthentication.credentialsLocation.

Enumeration Members

AuthorizationHeader

AuthorizationHeader: "AuthorizationHeader"

Defined in: types.ts:707

The credentials are passed in the Authorization header using the Basic scheme.


Automatic

Automatic: "Automatic"

Defined in: types.ts:696

Allow the platform to determine this automatically. Currently that means the platform tries passing the credentials in the body first, and if that fails then tries passing them in the Authorization header.


Body

Body: "Body"

Defined in: types.ts:702

The credentials are passed in the body of the request, encoded as application/x-www-form-urlencoded along with the other parameters.