Search Results for

    Show / Hide Table of Contents
    View Source

    Class IdentityUserToken

    Inheritance
    object
    BeingDirtyBase
    EntityBase
    Namespace: Umbraco.Cms.Core.Security
    Assembly: Umbraco.Core.dll
    Syntax
    public class IdentityUserToken : EntityBase, IRememberBeingDirty, ICanBeDirty, IIdentityUserToken, IEntity, IDeepCloneable

    Constructors

    View Source

    IdentityUserToken(int, string?, string?, string?, string, DateTime)

    Initializes a new instance of the IdentityUserToken class.

    Declaration
    public IdentityUserToken(int id, string? loginProvider, string? name, string? value, string userId, DateTime createDate)
    Parameters
    Type Name Description
    int id
    string loginProvider
    string name
    string value
    string userId
    DateTime createDate
    View Source

    IdentityUserToken(string, string?, string?, string?)

    Initializes a new instance of the IdentityUserToken class.

    Declaration
    public IdentityUserToken(string loginProvider, string? name, string? value, string? userId)
    Parameters
    Type Name Description
    string loginProvider
    string name
    string value
    string userId

    Properties

    View Source

    LoginProvider

    Gets or sets the login provider for the login (i.e. Facebook, Google)

    Declaration
    public string LoginProvider { get; set; }
    Property Value
    Type Description
    string
    View Source

    Name

    Gets or sets the token name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string
    View Source

    UserId

    Gets or sets user Id for the user who owns this token

    Declaration
    public string? UserId { get; set; }
    Property Value
    Type Description
    string
    View Source

    Value

    Gets or set the token value

    Declaration
    public string Value { get; set; }
    Property Value
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX