View Source
Class OwinExtensions
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public static class OwinExtensions
Methods
View Source
GetBackOfficeSignInManager(IOwinContext)
Gets the back office sign in manager out of OWIN
Declaration
public static BackOfficeSignInManager GetBackOfficeSignInManager(this IOwinContext owinContext)
Parameters
Type |
Name |
Description |
IOwinContext |
owinContext |
|
Returns
View Source
GetBackOfficeUserManager(IOwinContext)
Gets the back office user manager out of OWIN
Declaration
public static BackOfficeUserManager<BackOfficeIdentityUser> GetBackOfficeUserManager(this IOwinContext owinContext)
Parameters
Type |
Name |
Description |
IOwinContext |
owinContext |
|
Returns
View Source
GetCurrentRequestIpAddress(IOwinContext)
Declaration
public static string GetCurrentRequestIpAddress(this IOwinContext owinContext)
Parameters
Type |
Name |
Description |
IOwinContext |
owinContext |
|
Returns
Type |
Description |
System.String |
|
View Source
SetExternalLoginProviderErrors(IOwinContext, BackOfficeExternalLoginProviderErrors)
Used by external login providers to set any errors that occur during the OAuth negotiation
Declaration
public static void SetExternalLoginProviderErrors(this IOwinContext owinContext, BackOfficeExternalLoginProviderErrors errors)
Parameters