Skip to main content

inputPasskeyCredentialPublicKey

Public-key passkey credential used both for registration and for login, see creating a passkey » and logging in with a passkey » for the full flows.

type tg.InputPasskeyCredentialPublicKey struct { /* ... */ }

Implements InputPasskeyCredential.

Fields

NameTypeRequiredDescription
IDstringyesid field of a PublicKeyCredential, passed as-is without base64url-decoding when using the JSON representation
RawIDstringyesrawId field of a PublicKeyCredential, passed as-is without base64url-decoding when using the JSON representation
ResponseInputPasskeyResponseClassyesRegistration or login response.

References