Interface IUserFactor
Represents a UserFactor resource in the Okta API.
Assembly: Okta.Sdk.dll
Syntax
public interface IUserFactor : IResource
Properties
Created
Declaration
DateTimeOffset? Created { get; }
Property Value
Type |
Description |
System.Nullable<System.DateTimeOffset> |
|
FactorType
Declaration
FactorType FactorType { get; set; }
Property Value
Id
Declaration
Property Value
Type |
Description |
System.String |
|
LastUpdated
Declaration
DateTimeOffset? LastUpdated { get; }
Property Value
Type |
Description |
System.Nullable<System.DateTimeOffset> |
|
Provider
Declaration
FactorProvider Provider { get; set; }
Property Value
Status
Declaration
FactorStatus Status { get; }
Property Value
Verify
Declaration
IVerifyFactorRequest Verify { get; set; }
Property Value
Methods
ActivateAsync(IActivateFactorRequest, String, CancellationToken)
Declaration
Task<IUserFactor> ActivateAsync(IActivateFactorRequest body, string userId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
IActivateFactorRequest |
body |
|
System.String |
userId |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IUserFactor> |
|
VerifyAsync(IVerifyFactorRequest, String, String, Nullable<Int32>, CancellationToken)
Declaration
Task<IVerifyUserFactorResponse> VerifyAsync(IVerifyFactorRequest body, string userId, string templateId = null, int? tokenLifetimeSeconds, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
IVerifyFactorRequest |
body |
|
System.String |
userId |
|
System.String |
templateId |
|
System.Nullable<System.Int32> |
tokenLifetimeSeconds |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns