Class PublicKeyCredentialDescriptor
java.lang.Object
org.springframework.security.web.webauthn.api.PublicKeyCredentialDescriptor
- All Implemented Interfaces:
Serializable
PublicKeyCredentialDescriptor
identifies a specific public key credential. It is used in create() to prevent creating
duplicate credentials on the same authenticator, and in get() to determine if and how
the credential can currently be reached by the client. It mirrors some fields of the
PublicKeyCredential object returned by create() and get().
- Since:
- 6.4
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getId()
The id property contains the credential ID of the public key credential the caller is referring to.The transports property is an OPTIONAL member that contains a hint as to how the client might communicate with the managing authenticator of the public key credential the caller is referring to.getType()
The type property contains the type of the public key credential the caller is referring to.
-
Method Details
-
getType
The type property contains the type of the public key credential the caller is referring to.- Returns:
- the type
-
getId
The id property contains the credential ID of the public key credential the caller is referring to.- Returns:
- the id
-
getTransports
The transports property is an OPTIONAL member that contains a hint as to how the client might communicate with the managing authenticator of the public key credential the caller is referring to.- Returns:
- the transports
-
builder
-