KenticoUserStoreTUserSetTwoFactorEnabledAsync Method |
Note: This API is now obsolete.
Sets whether two factor authentication is enabled for the user.
Namespace: Kentico.MembershipAssembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax [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:
TaskImplements
IUserTwoFactorStore.SetTwoFactorEnabledAsync(UTP, Boolean)Remarks Not used in current implementation.
See Also