Types

Link copied to clipboard
data class ClientNotFound(val errorMessage: String) : TSWebAuthnApprovalError

This error indicates that the set client id was not found in Transmit backend

Link copied to clipboard
data class CredentialUnsupported(val errorMessage: String, val exception: Throwable) : TSWebAuthnApprovalError

Passkey error - credential manager is unsupported, typically because the device has disabled it or did not ship with this feature enabled. A software update or a restart after enabling may fix this issue, but in certain cases, the device hardware may be the limiting factor.

Link copied to clipboard

Passkeys error - the user consented to authenticate the app using custom credentials, this option is not supported.

Link copied to clipboard
data class GeneralPasskeyError(val errorMessage: String, val exception: Throwable) : TSWebAuthnApprovalError

General Passkeys error occurred

Link copied to clipboard
data class InternalError(val errorMessage: String, val exception: Throwable? = null) : TSWebAuthnApprovalError

Internal error occurred

Link copied to clipboard
data class InterruptedError(val errorMessage: String, val exception: Throwable) : TSWebAuthnApprovalError

Passkey error - an interruption occurred during the authentication process.

Link copied to clipboard
data class InvalidDomain(val errorMessage: String) : TSWebAuthnApprovalError

The provided domain is invalid

Link copied to clipboard
data class NetworkError(val errorMessage: String, val exception: Throwable? = null) : TSWebAuthnApprovalError

Network Error

Link copied to clipboard
data class NoCredentials(val errorMessage: String, val exception: Throwable? = null) : TSWebAuthnApprovalError

No viable credential is available for the user. This can happen when the user has no registered credential or does not grant consent to use an available credential.

Link copied to clipboard

Attempt to authenticate using unregistered credentials

Link copied to clipboard

Passkeys error - the user consented to authenticate the app using password credentials, this option is not supported.

Link copied to clipboard
data class RequestCannotBeValidated(val errorMessage: String, val exception: Throwable) : TSWebAuthnApprovalError

Passkeys error - request cannot be validated. This error indicates that there may be a mismatch between the definition in your assetlinks.json and your application (please check the package name in assetlinks matches the apk's package name, that the apk signing certificate fingerprint matches the signing certificate fingerprint in assetslinks.json, and that the domain in assetlinks.json matches the rp id configured in the Transmit portal.

Link copied to clipboard
data class SDKNotInitialized(val errorMessage: String) : TSWebAuthnApprovalError

SDK was not initialized

Link copied to clipboard

Passkeys error - the user consented to authenticate the app using an unexpected type of credentials, this option is not supported.

Link copied to clipboard
data class Unsupported(val errorMessage: String) : TSWebAuthnApprovalError

Not supported on this Android OS version.

Link copied to clipboard
data class UserCancelled(val errorMessage: String, val exception: Throwable) : TSWebAuthnApprovalError

Passkeys error - user cancelled

Link copied to clipboard
data class UserNotFound(val errorMessage: String) : TSWebAuthnApprovalError

The provided user id wasn't found in Transmit backend

Properties

Link copied to clipboard
Link copied to clipboard