> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HttpTokenEndpoint

> Where a TOKEN_EXCHANGE connection gets its token: a POST of `parameters` and the secret values `secretParameters` name.

**basicAuthPasswordSecretName** `String`

The name of the secret value sent as the Basic auth password.

**basicAuthUsername** `String`

The username of HTTP Basic auth on the token request, such as an OAuth2 client id. Null for none.

**defaultTtlSeconds** `Int!` *required*

How long a token is kept when the response gives no expiry.

**expiresInPath** `String`

Where the seconds until it expires are, like `expires_in`.

**format** `[TokenRequestFormat!](/docs/api-reference/v3/reference/developer/token-request-format)` *required*

How the parameters are sent.

**parameters** `[\[HttpTokenRequestParameter!\]!](/docs/api-reference/v3/reference/developer/http-token-request-parameter)` *required*

Parameters sent as given, such as `grant_type`.

**fields**

**name** `String!` *required*

The parameter name.

**value** `String!` *required*

Its value.

**secretParameters** `[\[HttpTokenRequestParameter!\]!](/docs/api-reference/v3/reference/developer/http-token-request-parameter)` *required*

Parameters whose value is a secret value: `name` is the parameter and `value` the secret value's name.

**fields**

**name** `String!` *required*

The parameter name.

**value** `String!` *required*

Its value.

**tokenPath** `String!` *required*

Where the token is in the response, like `access_token`.

**url** `String!` *required*

The token URL. Its host can't change.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.