# SsoExchangeRequest

Redeems the one-time code a sign-in with an identity provider came back with. The code works once, for a couple of minutes, and only with the verifier whose challenge the sign-in was started with.

**Kind:** an object, used in requests.

## Fields

| Field | Type | Required | Description |
|---|---|---|---|
| `code` | `string` | yes | The `code` the sign-in came back with. Constraints: maxLength: 256, required (empty or whitespace-only strings are rejected). |
| `codeVerifier` | `string` | yes | The random verifier (43 to 128 characters of `A-Z a-z 0-9 - . _ ~`) whose SHA-256, base64url-encoded without padding, was the sign-in's `codeChallenge`. Constraints: maxLength: 128, required (empty or whitespace-only strings are rejected). |

## Example

```json
{
  "code": "...",
  "codeVerifier": "..."
}
```
