View Source
Interface ITwoFactorLoginService2
Assembly: Umbraco.Core.dll
Syntax
public interface ITwoFactorLoginService2 : ITwoFactorLoginService, IService
Methods
View Source
DisableWithCodeAsync(String, Guid, String)
Declaration
Task<bool> DisableWithCodeAsync(string providerName, Guid userOrMemberKey, string code)
Parameters
Type |
Name |
Description |
System.String |
providerName |
|
Guid |
userOrMemberKey |
|
System.String |
code |
|
Returns
Type |
Description |
Task<System.Boolean> |
|
View Source
ValidateAndSaveAsync(String, Guid, String, String)
Declaration
Task<bool> ValidateAndSaveAsync(string providerName, Guid userKey, string secret, string code)
Parameters
Type |
Name |
Description |
System.String |
providerName |
|
Guid |
userKey |
|
System.String |
secret |
|
System.String |
code |
|
Returns
Type |
Description |
Task<System.Boolean> |
|