-
- All Implemented Interfaces:
public class WebAuthnDataRepository
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWebAuthnDataRepository.WebAuthnDataRepositoryBuilderpublic classWebAuthnDataRepository.Companion
-
Method Summary
Modifier and Type Method Description final ContextgetContext()final Unitpersist(PublicKeyCredentialSource source)Persist the PublicKeyCredentialSource, it overrides the existing PublicKeyCredentialSource with the same PublicKeyCredentialSource. final List<PublicKeyCredentialSource>getPublicKeyCredentialSource(String rpId)Retrieve all PublicKeyCredentialSource with the same rpId PublicKeyCredentialSource. final Unitdelete(PublicKeyCredentialSource publicKeyCredentialSource)Delete the provided PublicKeyCredentialSource final Unitdelete(String rpId)Delete all the PublicKeyCredentialSource with provided rpId -
-
Method Detail
-
getContext
final Context getContext()
-
persist
final Unit persist(PublicKeyCredentialSource source)
Persist the PublicKeyCredentialSource, it overrides the existing PublicKeyCredentialSource with the same PublicKeyCredentialSource.getUserHandle
@param source The PublicKeyCredentialSource to persist.
-
getPublicKeyCredentialSource
final List<PublicKeyCredentialSource> getPublicKeyCredentialSource(String rpId)
Retrieve all PublicKeyCredentialSource with the same rpId PublicKeyCredentialSource.getRpid
- Parameters:
rpId- The Relying Party Id
-
delete
final Unit delete(PublicKeyCredentialSource publicKeyCredentialSource)
Delete the provided PublicKeyCredentialSource
- Parameters:
publicKeyCredentialSource- The PublicKeyCredentialSource to be deleted
-
delete
final Unit delete(String rpId)
Delete all the PublicKeyCredentialSource with provided rpId
- Parameters:
rpId- The rpId to be deleted
-
-
-
-