WebauthnServer ​
- Type
- Class
- Namespace
- craft\auth\passkeys
- Inherits
- craft\auth\passkeys\WebauthnServer
- Since
- 5.0.0
Webauthn server.
Public Methods ​
Method | Description |
---|---|
getAlgorithmManager() | Returns a list of cryptographic algorithms to perform data verification based on cryptographic signatures. |
getAttestationObjectLoader() | Returns the object that will load the Attestation statements received from the devices. |
getAttestationStatementManager() | Returns supported attestation statement types. |
getAuthenticatorAssertionResponseValidator() | Returns the object that will be used to validate the Assertion Responses. |
getAuthenticatorAttestationResponseValidator() | Returns the object that will be used to validate the Attestation Responses. |
getExtensionOutputCheckerHandler() | Returns the object that deals with extensions. |
getPasskeyAuthenticatorSelectionCriteria() | Returns the object containing Authenticator Selection Criteria |
getPublicKeyCredentialLoader() | Returns the object that will load the Public Key. |
getPublicKeyCredentialParametersList() | COSE algorithms that the authenticators must use in the order of interest. |
getSerializer() | Return the Symphony Serializer that will deal with serialization/deserialization of data. |
getTokenBindingHandler() | Returns the token binding handler. |
getAlgorithmManager()
​
Returns a list of cryptographic algorithms to perform data verification based on cryptographic signatures.
See also https://webauthn-doc.spomky-labs.com/pure-php/the-hard-way#algorithm-managerView source
Returns ​
\Cose\Algorithm\Manager
getAttestationObjectLoader()
​
Returns the object that will load the Attestation statements received from the devices.
See also https://webauthn-doc.spomky-labs.com/pure-php/the-hard-way#attestation-object-loaderView source
Returns ​
\Webauthn\AttestationStatement\AttestationObjectLoader
getAttestationStatementManager()
​
Returns supported attestation statement types.
Note that you should only use the none one unless you have specific needs.
See also https://webauthn-doc.spomky-labs.com/pure-php/the-hard-way#supported-attestation-statement-typesView source
Returns ​
\Webauthn\AttestationStatement\AttestationStatementSupportManager
getAuthenticatorAssertionResponseValidator()
​
Returns the object that will be used to validate the Assertion Responses.
See also https://webauthn-doc.spomky-labs.com/pure-php/the-hard-way#authenticator-assertion-response-validatorView source
Returns ​
\Webauthn\AuthenticatorAssertionResponseValidator
getAuthenticatorAttestationResponseValidator()
​
Returns the object that will be used to validate the Attestation Responses.
See also https://webauthn-doc.spomky-labs.com/pure-php/the-hard-way#authenticator-attestation-response-validatorView source
Returns ​
\Webauthn\AuthenticatorAttestationResponseValidator
getExtensionOutputCheckerHandler()
​
Returns the object that deals with extensions.
See also https://webauthn-doc.spomky-labs.com/pure-php/the-hard-way#extension-output-checker-handlerView source
Returns ​
\Webauthn\AuthenticationExtensions\ExtensionOutputCheckerHandler
getPasskeyAuthenticatorSelectionCriteria()
​
Returns the object containing Authenticator Selection Criteria
Returns ​
\Webauthn\AuthenticatorSelectionCriteria
getPublicKeyCredentialLoader()
​
Returns the object that will load the Public Key.
See also https://webauthn-doc.spomky-labs.com/pure-php/the-hard-way#public-key-credential-loaderView source
Returns ​
\Webauthn\PublicKeyCredentialLoader
getPublicKeyCredentialParametersList()
​
COSE algorithms that the authenticators must use in the order of interest.
Returns ​
getSerializer()
​
Return the Symphony Serializer that will deal with serialization/deserialization of data.
See also https://webauthn-doc.spomky-labs.com/v/v4.8/pure-php/input-loading#the-serializerView source
Returns ​
\Symfony\Component\Serializer\SerializerInterface
getTokenBindingHandler()
​
Returns the token binding handler.
At the time of writing, we recommend to ignore this feature.
See also https://webauthn-doc.spomky-labs.com/v/v4.5/pure-php/the-hard-way#token-binding-handlerView source
Returns ​
\Webauthn\TokenBinding\IgnoreTokenBindingHandler