View Source
Interface ITwoFactorProvider
Assembly: Umbraco.Core.dll
Syntax
public interface ITwoFactorProvider
Properties
View Source
ProviderName
Declaration
string ProviderName { get; }
Property Value
Type |
Description |
System.String |
|
Methods
View Source
GetSetupDataAsync(Guid, String)
Declaration
Task<object> GetSetupDataAsync(Guid userOrMemberKey, string secret)
Parameters
Type |
Name |
Description |
Guid |
userOrMemberKey |
|
System.String |
secret |
|
Returns
Type |
Description |
Task<System.Object> |
|
View Source
ValidateTwoFactorPIN(String, String)
Declaration
bool ValidateTwoFactorPIN(string secret, string token)
Parameters
Type |
Name |
Description |
System.String |
secret |
|
System.String |
token |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
ValidateTwoFactorSetup(String, String)
Declaration
bool ValidateTwoFactorSetup(string secret, string token)
Parameters
Type |
Name |
Description |
System.String |
secret |
|
System.String |
token |
|
Returns
Type |
Description |
System.Boolean |
|