Class ImmutablePublicKeyCredentialUserEntity.PublicKeyCredentialUserEntityBuilder
java.lang.Object
org.springframework.security.web.webauthn.api.ImmutablePublicKeyCredentialUserEntity.PublicKeyCredentialUserEntityBuilder
- Enclosing class:
- ImmutablePublicKeyCredentialUserEntity
public static final class ImmutablePublicKeyCredentialUserEntity.PublicKeyCredentialUserEntityBuilder
extends Object
Used to build
PublicKeyCredentialUserEntity
.- Since:
- 6.4
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a newPublicKeyCredentialUserEntity
displayName
(String displayName) Sets theImmutablePublicKeyCredentialUserEntity.getDisplayName()
property.Sets theImmutablePublicKeyCredentialUserEntity.getId()
property.Sets theImmutablePublicKeyCredentialUserEntity.getName()
property.
-
Method Details
-
name
public ImmutablePublicKeyCredentialUserEntity.PublicKeyCredentialUserEntityBuilder name(String name) Sets theImmutablePublicKeyCredentialUserEntity.getName()
property.- Parameters:
name
- the name- Returns:
- the
ImmutablePublicKeyCredentialUserEntity.PublicKeyCredentialUserEntityBuilder
-
id
Sets theImmutablePublicKeyCredentialUserEntity.getId()
property.- Parameters:
id
- the id- Returns:
- the
ImmutablePublicKeyCredentialUserEntity.PublicKeyCredentialUserEntityBuilder
-
displayName
public ImmutablePublicKeyCredentialUserEntity.PublicKeyCredentialUserEntityBuilder displayName(String displayName) Sets theImmutablePublicKeyCredentialUserEntity.getDisplayName()
property.- Parameters:
displayName
- the display name- Returns:
- the
ImmutablePublicKeyCredentialUserEntity.PublicKeyCredentialUserEntityBuilder
-
build
Builds a newPublicKeyCredentialUserEntity
- Returns:
- a new
PublicKeyCredentialUserEntity
-