TSWebAuthnAuthenticationError

sealed class TSWebAuthnAuthenticationError

Class representing an error received when invoking TSAuthentication.authenticateWebAuthn

Types

Link copied to clipboard
data class ClientNotFound(val message: String) : TSWebAuthnAuthenticationError

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

Link copied to clipboard
data class CredentialUnsupported(val s: String, val t: Throwable) : TSWebAuthnAuthenticationError

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
data class CustomCredentialsNotSupported(val message: String) : TSWebAuthnAuthenticationError

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 message: String, val t: Throwable) : TSWebAuthnAuthenticationError

General Passkeys error occurred

Link copied to clipboard
data class InternalError(val message: String, val t: Throwable? = null) : TSWebAuthnAuthenticationError

Internal error occurred

Link copied to clipboard
data class InterruptedError(val s: String, val t: Throwable) : TSWebAuthnAuthenticationError

Passkey error - an interruption occurred during the authentication process.

Link copied to clipboard
data class NetworkError(val message: String, val t: Throwable? = null) : TSWebAuthnAuthenticationError

Network Error

Link copied to clipboard
data class NoRegisteredCredentials(val message: String) : TSWebAuthnAuthenticationError

Attempt to authenticate using unregistered credentials

Link copied to clipboard
data class PasswordCredentialsNotSupported(val message: String) : TSWebAuthnAuthenticationError

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 message: String, val t: Throwable) : TSWebAuthnAuthenticationError

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, matches the o, and that the domain in assetlinks.json matches the rp id configured in the Transmit portal.

Link copied to clipboard
data class SDKNotInitialized(val message: String) : TSWebAuthnAuthenticationError

SDK was not initialized

Link copied to clipboard
data class UnexpectedTypeOfCredential(val message: String) : TSWebAuthnAuthenticationError

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 UserCancelled(val message: String, val t: Throwable) : TSWebAuthnAuthenticationError

Passkeys error - user cancelled

Link copied to clipboard
data class UserNotFound(val message: String) : TSWebAuthnAuthenticationError

The provided user id wasn't found in Transmit backend

Properties

Link copied to clipboard
val eM: String
Link copied to clipboard
val tw: Throwable? = null

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard