[SDK reference](../../index.md) / [Models](../index.md)

# Models.Auth namespace

## Types

| Type | Kind | Description |
|---|---|---|
| [AccountNotice](AccountNotice.md) | class | A platform notice of a user account. |
| [AccountNoticeList](AccountNoticeList.md) | class | The caller's account notices and address verification state. |
| [AcknowledgeNoticeResponse](AcknowledgeNoticeResponse.md) | class | Result of marking a notice read. |
| [AltchaChallenge](AltchaChallenge.md) | class | An ALTCHA proof-of-work challenge (altcha.org). |
| [BeginAddPasskeyRequest](BeginAddPasskeyRequest.md) | class | Starts registering one more passkey on the caller's own account (W13; ADR-1115). |
| [BeginEmailVerificationRequest](BeginEmailVerificationRequest.md) | class | Starts the e-mail proof for a sign-up ceremony. |
| [BeginEmailVerificationResponse](BeginEmailVerificationResponse.md) | class | The e-mail proof was started. The same answer comes back for any address. |
| [BeginForgeLoginRequest](BeginForgeLoginRequest.md) | class | Starts an OAuth 2.0 login at a code forge (GitHub, GitLab; ADR-1115: optional). |
| [BeginRecoveryRequest](BeginRecoveryRequest.md) | class | Starts an account recovery with one recovery code; finishRecovery spends it. |
| [BeginRequest](BeginRequest.md) | class |  |
| [BeginSignupRequest](BeginSignupRequest.md) | class | A sign-up request: the e-mail address and a proof of work. |
| [BeginSsoSigninRequest](BeginSsoSigninRequest.md) | class | Starts a sign-in through the organisation's own identity provider (W136; ADR-0214). |
| [Ceremony](Ceremony.md) | class | A WebAuthn ceremony: the options to hand to the authenticator and the ID to send back. |
| [Ceremony_options](Ceremony_options.md) | class | PublicKeyCredentialCreationOptions or PublicKeyCredentialRequestOptions, as JSON. |
| [CliSigninDescription](CliSigninDescription.md) | class | A sign-in that waits for approval, as the approval page shows it. |
| [ConfirmEmailRequest](ConfirmEmailRequest.md) | class | The code the user received, bound to the ceremony. |
| [ConfirmEmailResponse](ConfirmEmailResponse.md) | class |  |
| [DescribeCliSigninRequest](DescribeCliSigninRequest.md) | class | Asks which sign-in waits for approval: by grant ID or by the user code a person typed. |
| [ExchangeApiKeyRequest](ExchangeApiKeyRequest.md) | class |  |
| [ExchangeCliSigninRequest](ExchangeCliSigninRequest.md) | class | Trades an approved sign-in for tokens, once: a loopback code with its PKCE verifier and redirect URI, or a device code. |
| [ExchangeCliSigninResponse](ExchangeCliSigninResponse.md) | class | The tokens of an approved sign-in; or, while a device sign-in still waits, `status` and `interval` without tokens (RFC 8628 section 3.5). |
| [ExchangeCliSigninResponse_tokenType](ExchangeCliSigninResponse_tokenType.md) | enum |  |
| [FinishAddPasskeyRequest](FinishAddPasskeyRequest.md) | class | Finishes adding a passkey: the ceremony's attestation answer. |
| [FinishAddPasskeyRequest_credential](FinishAddPasskeyRequest_credential.md) | class | The authenticator's attestation answer, as JSON. |
| [FinishAddPasskeyResponse](FinishAddPasskeyResponse.md) | class |  |
| [FinishForgeLoginRequest](FinishForgeLoginRequest.md) | class | The code and the state the forge returned to the redirect address. |
| [FinishRequest](FinishRequest.md) | class |  |
| [FinishRequest_credential](FinishRequest_credential.md) | class | The authenticator's answer (AuthenticatorAttestationResponse or AuthenticatorAssertionResponse), as JSON. |
| [FinishSignupRequest](FinishSignupRequest.md) | class | Finishes a sign-up: the ceremony's answer and the code from the e-mail proof. |
| [FinishSignupRequest_credential](FinishSignupRequest_credential.md) | class | The authenticator's attestation answer, as JSON. |
| [FinishSsoSigninRequest](FinishSsoSigninRequest.md) | class | The code and the state the identity provider returned to the redirect address. |
| [ForgeAuthorization](ForgeAuthorization.md) | class | Where to send the browser, and the state the forge hands back with the code. |
| [ForgeLink](ForgeLink.md) | class | A forge account linked to the caller's account. |
| [RecoveryCodes](RecoveryCodes.md) | class | Ten new recovery codes, each good once; a new set voids the old. Shown only in this answer. |
| [RefreshRequest](RefreshRequest.md) | class |  |
| [SsoAuthorization](SsoAuthorization.md) | class | Where to send the browser for single sign-on, and the state the provider hands back with the code. |
| [StartCliSigninRequest](StartCliSigninRequest.md) | class | Starts a sign-in for a command-line client (RFC 8252 loopback with PKCE, or RFC 8628 device). No session exists until a person approves it. |
| [StartCliSigninResponse](StartCliSigninResponse.md) | class | A started sign-in. A loopback grant answers `grantId`; a device grant answers `deviceCode`, `userCode` and `interval`. |
| [TokenExchangeRequest](TokenExchangeRequest.md) | class | An RFC 8693 token exchange (form encoded): the MCP host trades the client's token for one the API accepts. |
| [TokenExchangeRequest_grant_type](TokenExchangeRequest_grant_type.md) | enum |  |
| [TokenExchangeRequest_subject_token_type](TokenExchangeRequest_subject_token_type.md) | enum |  |
| [TokenExchangeResponse](TokenExchangeResponse.md) | class | The exchanged token (RFC 8693). |
| [TokenExchangeResponse_token_type](TokenExchangeResponse_token_type.md) | enum |  |
| [TokenResponse](TokenResponse.md) | class |  |
| [TokenResponse_tokenType](TokenResponse_tokenType.md) | enum |  |
