Search Results for

    Show / Hide Table of Contents
    View Source

    Class IdentityUserToken

    Inheritance
    System.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(Int32, 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
    System.Int32 id
    System.String loginProvider
    System.String name
    System.String value
    System.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
    System.String loginProvider
    System.String name
    System.String value
    System.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
    System.String
    View Source

    Name

    Gets or sets the token name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.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
    System.String
    View Source

    Value

    Gets or set the token value

    Declaration
    public string Value { get; set; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • IdentityUserToken(Int32, String, String, String, String, DateTime)
      • IdentityUserToken(String, String, String, String)
    • Properties
      • LoginProvider
      • Name
      • UserId
      • Value
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX