View Source
Class BackOfficeCookieAuthenticationProvider
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public class BackOfficeCookieAuthenticationProvider : CookieAuthenticationProvider
Constructors
View Source
BackOfficeCookieAuthenticationProvider(IUserService, IRuntimeState, IGlobalSettings)
Declaration
public BackOfficeCookieAuthenticationProvider(IUserService userService, IRuntimeState runtimeState, IGlobalSettings globalSettings)
Parameters
Methods
View Source
EnsureValidSessionId(CookieValidateIdentityContext)
Ensures that the user has a valid session id
Declaration
protected virtual async Task EnsureValidSessionId(CookieValidateIdentityContext context)
Parameters
Type |
Name |
Description |
CookieValidateIdentityContext |
context |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
View Source
ResponseSignIn(CookieResponseSignInContext)
Declaration
public override void ResponseSignIn(CookieResponseSignInContext context)
Parameters
Type |
Name |
Description |
CookieResponseSignInContext |
context |
|
View Source
ResponseSignOut(CookieResponseSignOutContext)
Declaration
public override void ResponseSignOut(CookieResponseSignOutContext context)
Parameters
Type |
Name |
Description |
CookieResponseSignOutContext |
context |
|
View Source
ValidateIdentity(CookieValidateIdentityContext)
Ensures that the culture is set correctly for the current back office user and that the user's session token is valid
Declaration
public override async Task ValidateIdentity(CookieValidateIdentityContext context)
Parameters
Type |
Name |
Description |
CookieValidateIdentityContext |
context |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|