Interface ISession
Represents a Session resource in the Okta API.
Assembly: Okta.Sdk.dll
Syntax
public interface ISession : IResource
Properties
AuthenticationMethodReference
Declaration
IList<SessionAuthenticationMethod> AuthenticationMethodReference { get; }
Property Value
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
Property Value
Type |
Description |
System.String |
|
Idp
Declaration
ISessionIdentityProvider Idp { get; }
Property Value
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
Property Value
Type |
Description |
System.String |
|
Status
Declaration
SessionStatus Status { get; }
Property Value
UserId
Declaration
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> |
|