API version:
Show / Hide Table of Contents

Interface IUserFactor

Represents a UserFactor resource in the Okta API.

Inherited Members
IResource.Item[String]
IResource.GetArrayProperty<T>(String)
IResource.GetData()
IResource.SetProperty(String, Object)
IResource.GetProperty<T>(String)
Namespace: Okta.Sdk
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
Type Description
FactorType

Id

Declaration
string Id { get; }
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
Type Description
FactorProvider

Status

Declaration
FactorStatus Status { get; }
Property Value
Type Description
FactorStatus

Verify

Declaration
IVerifyFactorRequest Verify { get; set; }
Property Value
Type Description
IVerifyFactorRequest

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
Type Description
System.Threading.Tasks.Task<IVerifyUserFactorResponse>
Back to top Copyright © 2021 Okta, Inc.
Generated with DocFx.