Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IBackOfficeSignInManager

    A Microsoft.AspNetCore.Identity.SignInManager<TUser> for the back office with a BackOfficeIdentityUser

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

    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(BackOfficeIdentityUser)

    Declaration
    Task<ClaimsPrincipal> CreateUserPrincipalAsync(BackOfficeIdentityUser user)
    Parameters
    Type Name Description
    BackOfficeIdentityUser 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

    GetExternalAuthenticationSchemesAsync()

    Declaration
    Task<IEnumerable<AuthenticationScheme>> GetExternalAuthenticationSchemesAsync()
    Returns
    Type Description
    Task<IEnumerable<AuthenticationScheme>>
    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<BackOfficeIdentityUser?> GetTwoFactorAuthenticationUserAsync()
    Returns
    Type Description
    Task<BackOfficeIdentityUser>
    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(BackOfficeIdentityUser, bool, string?)

    Declaration
    Task SignInAsync(BackOfficeIdentityUser user, bool isPersistent, string? authenticationMethod = null)
    Parameters
    Type Name Description
    BackOfficeIdentityUser 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