Table of Contents

Class LoginEntrySqlModel

Namespace
OpenSettings.Domains.Sql.Entities
Assembly
OpenSettings.dll
[Table("LoginEntries")]
public class LoginEntrySqlModel : EntityBase<Guid>
Inheritance
LoginEntrySqlModel
Inherited Members

Properties

AccessToken

public string AccessToken { get; set; }

Property Value

string

AccessTokenExpiryDate

public DateTimeOffset? AccessTokenExpiryDate { get; set; }

Property Value

DateTimeOffset?

Audience

The audience which initiated the login.

public Guid Audience { get; set; }

Property Value

Guid

AuthMethod

public AuthMethod AuthMethod { get; set; }

Property Value

AuthMethod

AuthType

public AuthType AuthType { get; set; }

Property Value

AuthType

IsSuccessful

Specify whether login completed successfully.

public bool IsSuccessful { get; set; }

Property Value

bool

Issuer

The issuer which created the login entry.

public Guid Issuer { get; set; }

Property Value

Guid

Metadata

Additional metadata associated with the login entry, stored as key-value pairs.

public Dictionary<string, object> Metadata { get; set; }

Property Value

Dictionary<string, object>

ProviderRegistry

[ForeignKey("ProviderRegistryId")]
public virtual ProviderRegistrySqlModel ProviderRegistry { get; set; }

Property Value

ProviderRegistrySqlModel

ProviderRegistryId

The instance id of the provider service which processed the login. This comes from OpenSettings.Services.ProviderCoordinationTimedService.ProviderRegistryId which corresponds the ProviderRegistry's id field.

public Guid? ProviderRegistryId { get; set; }

Property Value

Guid?

RefreshToken

public string RefreshToken { get; set; }

Property Value

string

RefreshTokenExpiryDate

public DateTimeOffset? RefreshTokenExpiryDate { get; set; }

Property Value

DateTimeOffset?

RemoteIpAddress

public string RemoteIpAddress { get; set; }

Property Value

string

Scopes

public string Scopes { get; set; }

Property Value

string

StateId

The state id which relevant to login.

public Guid StateId { get; set; }

Property Value

Guid

User

The user who logged in.

[ForeignKey("UserId")]
public virtual UserSqlModel User { get; set; }

Property Value

UserSqlModel

UserAgent

public string UserAgent { get; set; }

Property Value

string

UserId

public Guid? UserId { get; set; }

Property Value

Guid?