Interface EnvProps.IPasskeyCallback
- Enclosing class:
EnvProps
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The answer to a passkey ceremony the client ran.
Method Summary
Modifier and TypeMethodDescriptionvoidonPasskeyResult(String credentialJSON, String error) Called once per request that is not cancelled, on the worker of the application session (on the thread of the answer when the environment has no application session, as in a test), with the credential or with the error.
Method Details
onPasskeyResult
Called once per request that is not cancelled, on the worker of the application session (on the thread of the answer when the environment has no application session, as in a test), with the credential or with the error.- Parameters:
credentialJSON- The JSON text of the credential,PublicKeyCredential.toJSON()as the client made it, unchanged: for thefinishPasskeyAssertionorfinishPasskeyRegistrationofIUserAuthenticationUI. Null with an error.error- Null with a credential; otherwise the name of theDOMExceptionthat ended the ceremony in the client -EnvProps.PASSKEY_NOT_ALLOWED,EnvProps.PASSKEY_INVALID_STATE,EnvProps.PASSKEY_ABORTED,EnvProps.PASSKEY_NOT_SUPPORTED,NotFoundError(the component is not in the client's page),SyntaxError(options that are no JSON), or another one the Browser threw - orEnvProps.PASSKEY_RENEWAL_FAILED.