WebauthnLibServer
final class WebauthnLibServer implements Server (View source)
Constants
| private TIMEOUT |
|
| private CHALLENGE_SIZE |
|
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
Details
__construct(TwoFactor $twofactor, Randomizer $randomizer = new Randomizer())
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