Web Authn Service
Constructors
Link copied to clipboard
constructor(oauthService: IOauthService, fidoApiService: IFidoApiService, sessionService: ISessionService, persistenceService: IPersistenceService, businessApiService: IBusinessApiService<A>)
Functions
Link copied to clipboard
open fun fromAttestationResponse(uid: String, attestationJson: String, optionsJson: String): Pair<WebAuthnKeyModel, String>
Link copied to clipboard
Get available credentials (credentials manager from server).
Link copied to clipboard
Get stored passkeys.
Link copied to clipboard
Handle service activity sender result.
Link copied to clipboard
open fun login(resultLauncher: ActivityResultLauncher<IntentSenderRequest>, gigyaCallback: GigyaLoginCallback<A>)
Initialize WebAuthn/Fido login/signing flow.
open fun login(resultLauncher: ActivityResultLauncher<IntentSenderRequest>, params: Map<String, Any>, gigyaCallback: GigyaLoginCallback<A>)
* Initialize WebAuthn/Fido login/signing flow.
Link copied to clipboard
open fun onRegistration(optionsBinding: WebAuthnOptionsBinding, attestationResponse: Array<Byte>, credentialResponse: Array<Byte>)
Handle WebAuthn/Fido registration result.
Link copied to clipboard
Check passwordless key (FIDO2/Passkey) availability for provided user UID.
Link copied to clipboard
open fun register(resultLauncher: ActivityResultLauncher<IntentSenderRequest>, gigyaCallback: GigyaCallback<GigyaApiResponse>)
Initialize WebAuthn/Fido registration flow.
Link copied to clipboard
Initialize revoke key flow.
Link copied to clipboard
The Passkey authentication provider is used to handle passkey authentication.