View Source
Interface IMemberSignInManager
Assembly: Umbraco.Web.Common.dll
Syntax
public interface IMemberSignInManager
Methods
View Source
Declaration
AuthenticationProperties ConfigureExternalAuthenticationProperties(string provider, string redirectUrl, string userId = null)
Parameters
Type |
Name |
Description |
System.String |
provider |
|
System.String |
redirectUrl |
|
System.String |
userId |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Authentication.AuthenticationProperties |
|
View Source
ExternalLoginSignInAsync(ExternalLoginInfo, Boolean, Boolean)
Declaration
Task<SignInResult> ExternalLoginSignInAsync(ExternalLoginInfo loginInfo, bool isPersistent, bool bypassTwoFactor = false)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Identity.ExternalLoginInfo |
loginInfo |
|
System.Boolean |
isPersistent |
|
System.Boolean |
bypassTwoFactor |
|
Returns
Type |
Description |
Task<Microsoft.AspNetCore.Identity.SignInResult> |
|
View Source
GetExternalLoginInfoAsync(String)
Declaration
Task<ExternalLoginInfo> GetExternalLoginInfoAsync(string expectedXsrf = null)
Parameters
Type |
Name |
Description |
System.String |
expectedXsrf |
|
Returns
Type |
Description |
Task<Microsoft.AspNetCore.Identity.ExternalLoginInfo> |
|
View Source
GetTwoFactorAuthenticationUserAsync()
Declaration
Task<MemberIdentityUser?> GetTwoFactorAuthenticationUserAsync()
Returns
Type |
Description |
Task<System.Nullable<MemberIdentityUser>> |
|
View Source
PasswordSignInAsync(String, String, Boolean, Boolean)
Declaration
Task<SignInResult> PasswordSignInAsync(string userName, string password, bool isPersistent, bool lockoutOnFailure)
Parameters
Type |
Name |
Description |
System.String |
userName |
|
System.String |
password |
|
System.Boolean |
isPersistent |
|
System.Boolean |
lockoutOnFailure |
|
Returns
Type |
Description |
Task<Microsoft.AspNetCore.Identity.SignInResult> |
|
View Source
SignInAsync(MemberIdentityUser, Boolean, String)
Declaration
Task SignInAsync(MemberIdentityUser user, bool isPersistent, string authenticationMethod = null)
Parameters
Type |
Name |
Description |
MemberIdentityUser |
user |
|
System.Boolean |
isPersistent |
|
System.String |
authenticationMethod |
|
Returns
View Source
SignOutAsync()
Declaration
Returns
View Source
TwoFactorSignInAsync(String, String, Boolean, Boolean)
Declaration
Task<SignInResult> TwoFactorSignInAsync(string provider, string code, bool isPersistent, bool rememberClient)
Parameters
Type |
Name |
Description |
System.String |
provider |
|
System.String |
code |
|
System.Boolean |
isPersistent |
|
System.Boolean |
rememberClient |
|
Returns
Type |
Description |
Task<Microsoft.AspNetCore.Identity.SignInResult> |
|
View Source
UpdateExternalAuthenticationTokensAsync(ExternalLoginInfo)
Declaration
Task<IdentityResult> UpdateExternalAuthenticationTokensAsync(ExternalLoginInfo externalLogin)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Identity.ExternalLoginInfo |
externalLogin |
|
Returns
Type |
Description |
Task<Microsoft.AspNetCore.Identity.IdentityResult> |
|