WebAuthn
WebAuthn: 6 operations, tagged webauthn in the OpenAPI document.
| Method | Path | Summary |
|---|---|---|
POST |
/auth/webauthn/authenticate/begin |
Begin a WebAuthn authentication ceremony |
POST |
/auth/webauthn/authenticate/complete |
Complete a WebAuthn authentication ceremony |
GET |
/auth/webauthn/credentials |
List the current user’s WebAuthn credentials |
DELETE |
/auth/webauthn/credentials/{id} |
Revoke a WebAuthn credential |
POST |
/auth/webauthn/register/begin |
Begin a WebAuthn registration ceremony |
POST |
/auth/webauthn/register/complete |
Complete a WebAuthn registration ceremony |
Operations
Section titled “Operations”POST /auth/webauthn/authenticate/begin
Section titled “POST /auth/webauthn/authenticate/begin”Begin a WebAuthn authentication ceremony
Operation ID: webauthnAuthenticateBegin
Request body (required)
| Content type | Schema |
|---|---|
application/json |
AuthenticateBeginRequest |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json AuthenticateBeginResponse |
default |
Error | application/json ErrorModel |
POST /auth/webauthn/authenticate/complete
Section titled “POST /auth/webauthn/authenticate/complete”Complete a WebAuthn authentication ceremony
Operation ID: webauthnAuthenticateComplete
Request body (required)
| Content type | Schema |
|---|---|
application/json |
AuthenticateCompleteRequest |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json WebauthnAuthenticateCompleteResponse |
default |
Error | application/json ErrorModel |
GET /auth/webauthn/credentials
Section titled “GET /auth/webauthn/credentials”List the current user’s WebAuthn credentials
Operation ID: listWebauthnCredentials
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json WebauthnCredentialSummary[] |
default |
Error | application/json ErrorModel |
DELETE /auth/webauthn/credentials/{id}
Section titled “DELETE /auth/webauthn/credentials/{id}”Revoke a WebAuthn credential
Operation ID: deleteWebauthnCredential
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
POST /auth/webauthn/register/begin
Section titled “POST /auth/webauthn/register/begin”Begin a WebAuthn registration ceremony
Operation ID: webauthnRegisterBegin
Request body (required)
| Content type | Schema |
|---|---|
application/json |
RegisterBeginRequest |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json RegisterBeginResponse |
default |
Error | application/json ErrorModel |
POST /auth/webauthn/register/complete
Section titled “POST /auth/webauthn/register/complete”Complete a WebAuthn registration ceremony
Operation ID: webauthnRegisterComplete
Request body (required)
| Content type | Schema |
|---|---|
application/json |
RegisterCompleteRequest |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json RegisterCompleteResponse |
default |
Error | application/json ErrorModel |
Schemas
Section titled “Schemas”AuthenticateBeginRequest
Section titled “AuthenticateBeginRequest”| Field | Type | Required | Description |
|---|---|---|---|
email |
string | yes |
AuthenticateBeginResponse
Section titled “AuthenticateBeginResponse”| Field | Type | Required | Description |
|---|---|---|---|
options |
any | yes | |
stateId |
string | yes |
AuthenticateCompleteRequest
Section titled “AuthenticateCompleteRequest”| Field | Type | Required | Description |
|---|---|---|---|
credential |
any | yes | |
stateId |
string | yes |
RegisterBeginRequest
Section titled “RegisterBeginRequest”| Field | Type | Required | Description |
|---|---|---|---|
displayName |
string | no |
RegisterBeginResponse
Section titled “RegisterBeginResponse”| Field | Type | Required | Description |
|---|---|---|---|
options |
any | yes | |
stateId |
string | yes |
RegisterCompleteRequest
Section titled “RegisterCompleteRequest”| Field | Type | Required | Description |
|---|---|---|---|
credential |
any | yes | |
name |
string | no | |
stateId |
string | yes |
RegisterCompleteResponse
Section titled “RegisterCompleteResponse”| Field | Type | Required | Description |
|---|---|---|---|
credentialId |
string | yes |
WebauthnAuthenticateCompleteResponse
Section titled “WebauthnAuthenticateCompleteResponse”| Field | Type | Required | Description |
|---|---|---|---|
email |
string | null | yes | |
name |
string | yes | |
principalId |
string | yes | |
roles |
string[] | yes |
WebauthnCredentialSummary
Section titled “WebauthnCredentialSummary”| Field | Type | Required | Description |
|---|---|---|---|
createdAt |
string (date-time) | yes | |
id |
string | yes | |
lastUsedAt |
string (date-time) | no | |
name |
string | no |