Class WebAuthnAuthentication.Builder<B extends WebAuthnAuthentication.Builder<B>>
java.lang.Object
org.springframework.security.web.webauthn.authentication.WebAuthnAuthentication.Builder<B>
- All Implemented Interfaces:
org.springframework.security.core.Authentication.Builder<B>
- Enclosing class:
- WebAuthnAuthentication
public static final class WebAuthnAuthentication.Builder<B extends WebAuthnAuthentication.Builder<B>>
extends Object
A builder of
WebAuthnAuthentication instances- Since:
- 7.0
-
Method Details
-
principal
Use this principal. It must be of typePublicKeyCredentialUserEntity- Parameters:
principal- the principal to use- Returns:
- the
WebAuthnAuthentication.Builderfor further configurations
-
build
-