Click or drag to resize
KenticoUserStoreTUserSetTwoFactorEnabledAsync Method

Note: This API is now obsolete.

Sets whether two factor authentication is enabled for the user.

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Method is not implemented.", true)]
public Task SetTwoFactorEnabledAsync(
	TUser user,
	bool enabled
)

Parameters

user
Type: TUser
User.
enabled
Type: SystemBoolean
Whether users should go through two-factor authentication.

Return Value

Type: Task

Implements

IUserTwoFactorStore.SetTwoFactorEnabledAsync(UTP, Boolean)
Remarks
Not used in current implementation.
See Also