Table of Contents

Interface IIdentityUserToken<TKey>

Namespace
LinqToDB.Identity
Assembly
LinqToDB.Identity.dll

Represents an authentication token for a user.

public interface IIdentityUserToken<TKey> where TKey : IEquatable<TKey>

Type Parameters

TKey

The type of the primary key used for users.

Properties

LoginProvider

Gets or sets the LoginProvider this token is from.

string LoginProvider { get; set; }

Property Value

string

Name

Gets or sets the name of the token.

string Name { get; set; }

Property Value

string

UserId

Gets or sets the primary key of the user that the token belongs to.

TKey UserId { get; set; }

Property Value

TKey

Value

Gets or sets the token value.

string Value { get; set; }

Property Value

string