Skip to main content

Interface: AuthCredential

Defined in: src/types/interfaces/auth.interface.ts:67

Authentication credential types.

Remarks

Credentials used to authenticate with the PDS.

Properties

type

readonly type: "password" | "app_password" | "pds_token" | "webauthn"

Defined in: src/types/interfaces/auth.interface.ts:77

Credential type.

Remarks

  • password: User password (not recommended for production)
  • app_password: Scoped application password
  • pds_token: Pre-authenticated PDS session token
  • webauthn: WebAuthn credential response

value

readonly value: string

Defined in: src/types/interfaces/auth.interface.ts:87

Credential value.

Remarks

For password/app_password: the password string For pds_token: the session JWT from PDS For webauthn: serialized PublicKeyCredential JSON