SilverStripe\WebAuthn
Classes
Contains logic which is shared between both WebAuthn's RegisterHandler and VerifyHandler, such as the attestation configuration options.
Implements the required interface from the WebAuthn library - but it does not implement the repository pattern in the usual way. This is expected to be stored on a DataObject for persistence. Use the
Exception to be thrown when a {AuthenticatorAttestationResponse} is expected to contain attested credential data but does not. {AuthenticatorData::hasAttestedCredentialData}
Represents an error found when the AuthenticatorResponse from a challenge is not of the expected type e.g. for verification we expect {AuthenticatorAssertionResponse} but could instead be returned a {AuthenticatorAttestationResponse} It is an extreme edge case, but is technically possible {PublicKeyCredentialLoader::createResponse}