API version:
Show / Hide Table of Contents

Class Session

Represents a resource in the Okta API.

Inheritance
System.Object
Resource
Session
Implements
ISession
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 sealed class Session : Resource, ISession, IResource

Properties

AuthenticationMethodReference

Declaration
public IList<SessionAuthenticationMethod> AuthenticationMethodReference { get; }
Property Value
Type Description
System.Collections.Generic.IList<SessionAuthenticationMethod>

CreatedAt

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

ExpiresAt

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

Id

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

Idp

Declaration
public ISessionIdentityProvider Idp { get; }
Property Value
Type Description
ISessionIdentityProvider

LastFactorVerification

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

LastPasswordVerification

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

Login

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

Status

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

UserId

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

Methods

RefreshAsync(CancellationToken)

Declaration
public Task<ISession> RefreshAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<ISession>

Implements

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