VerifyHandler
class VerifyHandler implements VerifyHandlerInterface (View source)
Traits
Contains logic which is shared between both WebAuthn's RegisterHandler and VerifyHandler, such as the attestation configuration options.
Properties
protected | LoggerInterface | $logger |
Methods
No description
No description
No description
No description
Stores any data required to handle a log in process with a method, and returns relevant state to be applied to the front-end application managing the process.
Verify the request has provided the right information to verify the member that aligns with any sessions state that may have been set prior
Get the key that a React UI component is registered under (with @silverstripe/react-injector on the front-end)
No description
Details
protected Decoder
getDecoder()
deprecated
deprecated
No description
protected AttestationStatementSupportManager
getAttestationStatementSupportManager(Decoder $decoder)
No description
protected AttestationObjectLoader
getAttestationObjectLoader(AttestationStatementSupportManager $attestationStatementSupportManager, Decoder $decoder)
No description
protected PublicKeyCredentialLoader
getPublicKeyCredentialLoader(AttestationObjectLoader $attestationObjectLoader, Decoder $decoder)
No description
protected CredentialRepository
getCredentialRepository(StoreInterface $store, RegisteredMethod $registeredMethod = null)
No description
protected PublicKeyCredentialUserEntity
getUserEntity(Member $member)
No description
VerifyHandler
setLogger(LoggerInterface|null $logger)
Sets the {$logger} member variable
array
start(StoreInterface $store, RegisteredMethod $method)
Stores any data required to handle a log in process with a method, and returns relevant state to be applied to the front-end application managing the process.
Result
verify(HTTPRequest $request, StoreInterface $store, RegisteredMethod $registeredMethod)
Verify the request has provided the right information to verify the member that aligns with any sessions state that may have been set prior
string
getComponent()
Get the key that a React UI component is registered under (with @silverstripe/react-injector on the front-end)
protected PublicKeyCredentialRequestOptions
getCredentialRequestOptions(StoreInterface $store, RegisteredMethod $registeredMethod = null, bool $reset = false)
No description
protected AuthenticatorAssertionResponseValidator
getAuthenticatorAssertionResponseValidator(Decoder $decoder, StoreInterface $store)
No description