API version:
Show / Hide Table of Contents

Interface ISession

Represents a Session 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 ISession : IResource

Properties

AuthenticationMethodReference

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

CreatedAt

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

ExpiresAt

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

Id

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

Idp

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

LastFactorVerification

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

LastPasswordVerification

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

Login

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

Status

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

UserId

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

Methods

RefreshAsync(CancellationToken)

Declaration
Task<ISession> RefreshAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<ISession>
Back to top Copyright © 2021 Okta, Inc.
Generated with DocFx.