Interface WebauthnServerService
- All Known Implementing Classes:
WebauthnServerServiceImpl
public interface WebauthnServerService
Webauthn Registration and Authentication workflows. We start a process with initial request which is sent to
a Webauthn device via relying party app. The process is completed when the Webauthn device sends back a
response object back to relying party server.
Basic flow is.
App -> Server (start) -> App -> Webauthn Device
Webauthn Device -> App -> Server (complete) -> App
-
Method Summary
Modifier and TypeMethodDescriptioncom.yubico.webauthn.AssertionResultcompleteAuthentication(AuthenticationResponse assertionResponse, Optional<Validator> validator) Complates a webauthn authentication process.voidcompleteRegistration(RegistrationResponse registrationResponse, Optional<Validator> validator) Completes a webauthn registration process.startAuthentication(String username, Optional<Validator> validator) Starts a webauthn authentication process.startRegistration(User user, Optional<Validator> validator) Starts a webauthn registration process.
-
Method Details
-
startRegistration
Starts a webauthn registration process. -
completeRegistration
Completes a webauthn registration process. -
startAuthentication
Starts a webauthn authentication process. -
completeAuthentication
com.yubico.webauthn.AssertionResult completeAuthentication(AuthenticationResponse assertionResponse, Optional<Validator> validator) Complates a webauthn authentication process.
-