TSAuthentication
TS Authentication user API
Functions
Authenticate the user with native biometrics to authorize a specific action. If successful, returns a signed challenge that must be sent to your backend to complete the approval.
Authenticate the user with WebAuthn biometrics to authorize a specific action, using explicit credential request data. If successful, returns a signed result that must be sent to your backend to complete the approval.
Authenticate the user with WebAuthn biometrics to authorize a specific action. If successful, returns a signed result that must be sent to your backend to complete the approval.
Authenticate a user by prompting for biometrics and signing the provided challenge. On success, returns a signed challenge that must be sent to your backend to complete authentication.
Authenticate user with Pin Code authenticator.
Authenticate the user using WebAuthn credentials. If the username is not provided, all the credentials for this app in this device will be displayed. This will prompt the user for biometrics. If successful, it returns a webauthn authentication result encoded as a base64 string, which is required to complete the authentication via your backend.
Generate a time-based TOTP code for a previously registered authenticator.
Generate a challenge-based TOTP code for a previously registered authenticator.
Retrieve information about the current device, including its registration status and public key.
Returns the current native biometrics availability status for the device.
Initialize the SDK using the default API base URL ("https://api.transmitsecurity.io/").
Initialize the SDK.
Initialize the SDK. Client ID and base url values are fetched from app's string resources (transmit_security_client_id and transmit_security_base_url)
Returns whether the current device supports WebAuthn (FIDO2) authentication. Returns false if the SDK has not been initialized.
Register the device's biometrics as an authenticator for the given user. On success, returns a signed public key that must be sent to your backend to complete registration.
Register Pin Code authenticator on the device.
Register a TOTP authenticator from an otpauth:// URI.
Register credentials with WebAuthn, including prompting the user for biometrics. If successful, returns a webauthn registration result encoded as a base64 string, which is required to complete the registration via your backend.
Enable or disable SDK logging. Disabled by default.
Sign a WebAuthn transaction using explicit credential request data. Prompts the user for biometrics and returns a signed result that must be sent to your backend.
Sign a WebAuthn transaction for the given user. Prompts the user for biometrics and returns a signed result that must be sent to your backend.
Sign a challenge with the device key.
Unregister the biometric credential for the given user, removing it from the device.
Unregister the pin code authenticator for the given user.