TwoFactorAuthService class

Constructors

TwoFactorAuthService(ThingsboardClient tbClient)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteTwoFaAccountConfig(TwoFaProviderType providerType, {RequestConfig? requestConfig}) Future<AccountTwoFaSettings>
generateTwoFaAccountConfig(TwoFaProviderType providerType, {RequestConfig? requestConfig}) Future<TwoFaAccountConfig>
getAccountTwoFaSettings({RequestConfig? requestConfig}) Future<AccountTwoFaSettings?>
getAvailableLoginTwoFaProviders({RequestConfig? requestConfig}) Future<List<TwoFaProviderInfo>>
getAvailableTwoFaProviders({RequestConfig? requestConfig}) Future<List<TwoFaProviderType>>
getPlatformTwoFaSettings({RequestConfig? requestConfig}) Future<PlatformTwoFaSettings?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestTwoFaVerificationCode(TwoFaProviderType providerType, {RequestConfig? requestConfig}) Future<void>
savePlatformTwoFaSettings(PlatformTwoFaSettings platformTwoFaSettings, {RequestConfig? requestConfig}) Future<PlatformTwoFaSettings>
submitTwoFaAccountConfig(TwoFaAccountConfig accountConfig, {RequestConfig? requestConfig}) Future<void>
toString() String
A string representation of this object.
inherited
updateTwoFaAccountConfig(TwoFaProviderType providerType, bool useByDefault, {RequestConfig? requestConfig}) Future<AccountTwoFaSettings>
verifyAndSaveTwoFaAccountConfig(TwoFaAccountConfig accountConfig, {String? verificationCode, RequestConfig? requestConfig}) Future<AccountTwoFaSettings>

Operators

operator ==(Object other) bool
The equality operator.
inherited