Class WebAuthnAuthentication.Builder<B extends WebAuthnAuthentication.Builder<B>>
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken.AbstractAuthenticationBuilder<B>
org.springframework.security.web.webauthn.authentication.WebAuthnAuthentication.Builder<B>
- All Implemented Interfaces:
Authentication.Builder<B>
- Enclosing class:
- WebAuthnAuthentication
public static final class WebAuthnAuthentication.Builder<B extends WebAuthnAuthentication.Builder<B>>
extends AbstractAuthenticationToken.AbstractAuthenticationBuilder<B>
A builder of
WebAuthnAuthentication
instances- Since:
- 7.0
-
Method Summary
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken.AbstractAuthenticationBuilder
authenticated, authorities, details
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.security.core.Authentication.Builder
credentials
-
Method Details
-
principal
Use this principal. It must be of typePublicKeyCredentialUserEntity
- Parameters:
principal
- the principal to use- Returns:
- the
WebAuthnAuthentication.Builder
for further configurations - See Also:
-
build
Description copied from interface:Authentication.Builder
Build anAuthentication
instance- Returns:
- the
Authentication
instance
-