Package com.yubico.webauthn
Interface UsernameRepository
Deprecated.
EXPERIMENTAL: This is an experimental feature. It is likely to change or be deleted
before reaching a mature release.
An abstraction of optional database lookups needed by this library.
This is used by RelyingPartyV2 to look up usernames and user handles.
-
Method Summary
Modifier and TypeMethodDescriptiongetUserHandleForUsername(String username) Deprecated.EXPERIMENTAL: This is an experimental feature.getUsernameForUserHandle(ByteArray userHandle) Deprecated.EXPERIMENTAL: This is an experimental feature.
-
Method Details
-
getUserHandleForUsername
Deprecated.EXPERIMENTAL: This is an experimental feature. It is likely to change or be deleted before reaching a mature release.Get the user handle corresponding to the given username - the inverse ofgetUsernameForUserHandle(ByteArray).Used to look up the user handle based on the username, for authentication ceremonies where the username is already given.
-
getUsernameForUserHandle
Deprecated.EXPERIMENTAL: This is an experimental feature. It is likely to change or be deleted before reaching a mature release.Get the username corresponding to the given user handle - the inverse ofgetUserHandleForUsername(String).Used to look up the username based on the user handle, for username-less authentication ceremonies.
-