Skip to content

CredentialRepository

Type
Class
Namespace
craft\auth\passkeys
Inherits
craft\auth\passkeys\CredentialRepository
Implements
Webauthn\PublicKeyCredentialSourceRepository
Since
5.0.0

Passkey credential repository.

View source

Public Methods

MethodDescription
findAllForUserEntity()
findOneByCredentialId()
saveCredentialSource()
savedNamedCredentialSource()Save credential source with name

findAllForUserEntity()

View source

Arguments

  • $publicKeyCredentialUserEntity

findOneByCredentialId()

View source

Arguments

  • $publicKeyCredentialId

saveCredentialSource()

View source

Arguments

  • $publicKeyCredentialSource

savedNamedCredentialSource()

Save credential source with name

View source

Arguments

  • $publicKeyCredentialSource (\Webauthn\PublicKeyCredentialSource)
  • $credentialName (string, null)