Skip to content

Enumeration: TokenExchangeCredentialsLocation

Defined in: types.ts:708

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:725

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


Automatic

Automatic: "Automatic"

Defined in: types.ts:714

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:720

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