View Source
Interface IMemberSignInManagerExternalLogins
Assembly: Umbraco.Web.Common.dll
Syntax
[Obsolete("This interface will be merged with IMemberSignInManager in Umbraco 10")]
public interface IMemberSignInManagerExternalLogins : 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 |
System.Threading.Tasks.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 |
System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.ExternalLoginInfo> |
|
View Source
GetTwoFactorAuthenticationUserAsync()
Declaration
Task<MemberIdentityUser> GetTwoFactorAuthenticationUserAsync()
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 |
System.Threading.Tasks.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 |
System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> |
|