Package org.forgerock.android.auth
Class WebAuthnDataRepository
-
- All Implemented Interfaces:
public class WebAuthnDataRepository
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWebAuthnDataRepository.WebAuthnDataRepositoryBuilder
-
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 final static WebAuthnDataRepository.WebAuthnDataRepositoryBuilderbuilder()-
-
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
-
builder
final static WebAuthnDataRepository.WebAuthnDataRepositoryBuilder builder()
-
-
-
-