Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IMemberSignInManager

    Namespace: Umbraco.Cms.Web.Common.Security
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public interface IMemberSignInManager

    Methods

    View Source

    ConfigureExternalAuthenticationProperties(string?, string?, string?)

    Declaration
    AuthenticationProperties ConfigureExternalAuthenticationProperties(string? provider, string? redirectUrl, string? userId = null)
    Parameters
    Type Name Description
    string provider
    string redirectUrl
    string userId
    Returns
    Type Description
    AuthenticationProperties
    View Source

    CreateUserPrincipalAsync(MemberIdentityUser)

    Declaration
    Task<ClaimsPrincipal> CreateUserPrincipalAsync(MemberIdentityUser user)
    Parameters
    Type Name Description
    MemberIdentityUser user
    Returns
    Type Description
    Task<ClaimsPrincipal>
    View Source

    ExternalLoginSignInAsync(ExternalLoginInfo, bool, bool)

    Declaration
    Task<SignInResult> ExternalLoginSignInAsync(ExternalLoginInfo loginInfo, bool isPersistent, bool bypassTwoFactor = false)
    Parameters
    Type Name Description
    ExternalLoginInfo loginInfo
    bool isPersistent
    bool bypassTwoFactor
    Returns
    Type Description
    Task<SignInResult>
    View Source

    GetExternalLoginInfoAsync(string?)

    Declaration
    Task<ExternalLoginInfo?> GetExternalLoginInfoAsync(string? expectedXsrf = null)
    Parameters
    Type Name Description
    string expectedXsrf
    Returns
    Type Description
    Task<ExternalLoginInfo>
    View Source

    GetTwoFactorAuthenticationUserAsync()

    Declaration
    Task<MemberIdentityUser?> GetTwoFactorAuthenticationUserAsync()
    Returns
    Type Description
    Task<MemberIdentityUser>
    View Source

    PasswordSignInAsync(string, string, bool, bool)

    Declaration
    Task<SignInResult> PasswordSignInAsync(string userName, string password, bool isPersistent, bool lockoutOnFailure)
    Parameters
    Type Name Description
    string userName
    string password
    bool isPersistent
    bool lockoutOnFailure
    Returns
    Type Description
    Task<SignInResult>
    View Source

    SignInAsync(MemberIdentityUser, bool, string?)

    Declaration
    Task SignInAsync(MemberIdentityUser user, bool isPersistent, string? authenticationMethod = null)
    Parameters
    Type Name Description
    MemberIdentityUser user
    bool isPersistent
    string authenticationMethod
    Returns
    Type Description
    Task
    View Source

    SignOutAsync()

    Declaration
    Task SignOutAsync()
    Returns
    Type Description
    Task
    View Source

    TwoFactorSignInAsync(string, string, bool, bool)

    Declaration
    Task<SignInResult> TwoFactorSignInAsync(string provider, string code, bool isPersistent, bool rememberClient)
    Parameters
    Type Name Description
    string provider
    string code
    bool isPersistent
    bool rememberClient
    Returns
    Type Description
    Task<SignInResult>
    View Source

    UpdateExternalAuthenticationTokensAsync(ExternalLoginInfo)

    Declaration
    Task<IdentityResult> UpdateExternalAuthenticationTokensAsync(ExternalLoginInfo externalLogin)
    Parameters
    Type Name Description
    ExternalLoginInfo externalLogin
    Returns
    Type Description
    Task<IdentityResult>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX