Class WebAuthnAuthentication
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.web.webauthn.authentication.WebAuthnAuthentication
- All Implemented Interfaces:
Serializable,Principal,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
public class WebAuthnAuthentication
extends org.springframework.security.authentication.AbstractAuthenticationToken
A
WebAuthnAuthentication is used to represent successful authentication with
WebAuthn.- Since:
- 6.4
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWebAuthnAuthentication(PublicKeyCredentialUserEntity principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) -
Method Summary
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, hashCode, isAuthenticated, setDetails, toString
-
Constructor Details
-
WebAuthnAuthentication
public WebAuthnAuthentication(PublicKeyCredentialUserEntity principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-
-
Method Details
-
setAuthenticated
public void setAuthenticated(boolean authenticated) - Specified by:
setAuthenticatedin interfaceorg.springframework.security.core.Authentication- Overrides:
setAuthenticatedin classorg.springframework.security.authentication.AbstractAuthenticationToken
-
getCredentials
-
getPrincipal
-
getName
-