API version:
Show / Hide Table of Contents

Class UserFactor

Represents a resource in the Okta API.

Inheritance
System.Object
Resource
UserFactor
CallUserFactor
CustomHotpUserFactor
EmailUserFactor
HardwareUserFactor
PushUserFactor
SecurityQuestionUserFactor
SmsUserFactor
TokenUserFactor
TotpUserFactor
U2fUserFactor
WebAuthnUserFactor
WebUserFactor
Implements
IUserFactor
IResource
Inherited Members
Resource.GetClient()
Resource.GetData()
Resource.Item[String]
Resource.GetProperty<T>(String)
Resource.SetProperty(String, Object)
Resource.GetStringProperty(String)
Resource.GetBooleanProperty(String)
Resource.GetIntegerProperty(String)
Resource.GetLongProperty(String)
Resource.GetDoubleProperty(String)
Resource.GetDateTimeProperty(String)
Resource.GetArrayProperty<T>(String)
Resource.GetEnumProperty<TEnum>(String)
Resource.GetResourceProperty<T>(String)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Okta.Sdk
Assembly: Okta.Sdk.dll
Syntax
public class UserFactor : Resource, IUserFactor, IResource

Properties

Created

Declaration
public DateTimeOffset? Created { get; }
Property Value
Type Description
System.Nullable<System.DateTimeOffset>

FactorType

Declaration
public FactorType FactorType { get; set; }
Property Value
Type Description
FactorType

Id

Declaration
public string Id { get; }
Property Value
Type Description
System.String

LastUpdated

Declaration
public DateTimeOffset? LastUpdated { get; }
Property Value
Type Description
System.Nullable<System.DateTimeOffset>

Provider

Declaration
public FactorProvider Provider { get; set; }
Property Value
Type Description
FactorProvider

Status

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

Verify

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

Methods

ActivateAsync(IActivateFactorRequest, String, CancellationToken)

Declaration
public 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
public 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>

Implements

IUserFactor
IResource
Back to top Copyright © 2021 Okta, Inc.
Generated with DocFx.