Search Results for

    Show / Hide Table of Contents
    View Source

    Class IdentityUserLogin

    Entity type for a user's login (i.e. Facebook, Google)

    Inheritance
    System.Object
    BeingDirtyBase
    EntityBase
    Namespace: Umbraco.Cms.Core.Security
    Assembly: Umbraco.Core.dll
    Syntax
    public class IdentityUserLogin : EntityBase, IIdentityUserLogin, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty

    Constructors

    View Source

    IdentityUserLogin(Int32, String, String, String, DateTime)

    Initializes a new instance of the IdentityUserLogin class.

    Declaration
    public IdentityUserLogin(int id, string loginProvider, string providerKey, string userId, DateTime createDate)
    Parameters
    Type Name Description
    System.Int32 id
    System.String loginProvider
    System.String providerKey
    System.String userId
    DateTime createDate
    View Source

    IdentityUserLogin(String, String, String)

    Initializes a new instance of the IdentityUserLogin class.

    Declaration
    public IdentityUserLogin(string loginProvider, string providerKey, string userId)
    Parameters
    Type Name Description
    System.String loginProvider
    System.String providerKey
    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

    ProviderKey

    Gets or sets key representing the login for the provider

    Declaration
    public string ProviderKey { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    UserData

    Gets or sets any arbitrary data for the user and external provider

    Declaration
    public string UserData { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    UserId

    Gets or sets user or member key (Guid) for the user/member who owns this login

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