GenerateRegistrationOptions
class GenerateRegistrationOptions
Methods
PublicKeyCredentialCreationOptions
PublicKeyCredentialRpEntity
relyingParty()
Create the relying party entity.
PublicKeyCredentialUserEntity
AuthenticatorSelectionCriteria
authenticatorSelection()
Get the authenticator selection criteria.
array
excludedCredentials(PasskeyUser $user)
Get credentials to exclude from registration. Prevents the same authenticator from being registered twice.
array
supportedAlgorithms()
Get the supported public key credential algorithms.
Details
at line 26
PublicKeyCredentialCreationOptions
__invoke(Authenticatable $user)
Generate registration options for a user to create a new passkey.
at line 50
protected PublicKeyCredentialRpEntity
relyingParty()
Create the relying party entity.
at line 60
protected PublicKeyCredentialUserEntity
userEntity(PasskeyUser $user)
Create the user entity for registration.
at line 74
AuthenticatorSelectionCriteria
authenticatorSelection()
Get the authenticator selection criteria.
at line 98
array
excludedCredentials(PasskeyUser $user)
Get credentials to exclude from registration. Prevents the same authenticator from being registered twice.
at line 115
array
supportedAlgorithms()
Get the supported public key credential algorithms.