TSWebAuthnRegistrationError

sealed class TSWebAuthnRegistrationError

Class representing an error received when invoking TSAuthentication.registerWebAuthn

Types

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

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

Link copied to clipboard
data class CreateCredentialsInterrupted(val message: String, val t: Throwable) : TSWebAuthnRegistrationError

Passkeys error - During the create credential flow, this is thrown when some interruption occurs that may warrant retrying or at least does not indicate a purposeful desire to close or tap away from credential manager.

Link copied to clipboard
data class GeneralPasskeyError(val message: String, val t: Throwable) : TSWebAuthnRegistrationError

General Passkeys error occurred

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

Internla error occurred

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

Network Error

Link copied to clipboard
data class ProviderConfigurationError(val message: String, val t: Throwable) : TSWebAuthnRegistrationError

Passkeys error - During the create credential flow, this is thrown when configurations are mismatched for the provider, typically indicating the provider dependency is missing in the manifest or some system service is not enabled.

Link copied to clipboard
data class RegistrationUsernameMismatch(val message: String) : TSWebAuthnRegistrationError

The authentication session user name and the registration request user name do not match

Link copied to clipboard
data class RequestCannotBeValidated(val message: String, val t: Throwable) : TSWebAuthnRegistrationError

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) : TSWebAuthnRegistrationError

SDK was not initialized

Link copied to clipboard
data class UserCancelled(val message: String, val t: Throwable) : TSWebAuthnRegistrationError

Passkeys error - user cancelled

Link copied to clipboard
data class UserIdMismatch(val message: String) : TSWebAuthnRegistrationError

User id mismatch

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

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?

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