WebauthnLibServer
final class WebauthnLibServer implements Server (View source)
Methods
array
getCredentialCreationOptions(string $userName, string $userId, string $relyingPartyId)
No description
array
getCredentialRequestOptions(string $userName, string $userId, string $relyingPartyId, array $allowedCredentials)
No description
void
parseAndValidateAssertionResponse(string $assertionResponseJson, array $allowedCredentials, string $challenge, ServerRequestInterface $request)
No description
array
parseAndValidateAttestationResponse(string $attestationResponse, string $credentialCreationOptions, ServerRequestInterface $request)
No description
PublicKeyCredentialSource|null
findOneByCredentialId(string $publicKeyCredentialId)
No description
array
findAllForUserEntity(PublicKeyCredentialUserEntity $publicKeyCredentialUserEntity)
No description
void
saveCredentialSource(PublicKeyCredentialSource $publicKeyCredentialSource)
No description
Details
__construct(TwoFactor $twoFactor)
No description
array
getCredentialCreationOptions(string $userName, string $userId, string $relyingPartyId)
No description
array
getCredentialRequestOptions(string $userName, string $userId, string $relyingPartyId, array $allowedCredentials)
No description
void
parseAndValidateAssertionResponse(string $assertionResponseJson, array $allowedCredentials, string $challenge, ServerRequestInterface $request)
No description
array
parseAndValidateAttestationResponse(string $attestationResponse, string $credentialCreationOptions, ServerRequestInterface $request)
No description
PublicKeyCredentialSource|null
findOneByCredentialId(string $publicKeyCredentialId)
No description
array
findAllForUserEntity(PublicKeyCredentialUserEntity $publicKeyCredentialUserEntity)
No description
void
saveCredentialSource(PublicKeyCredentialSource $publicKeyCredentialSource)
No description