Interface ILocalSecurityManager
Assembly: ImageVault.Web.dll
Syntax
public interface ILocalSecurityManager : ISecurityManager
Properties
DefaultExternalProvider
Declaration
string DefaultExternalProvider { get; }
Property Value
Type |
Description |
System.String |
|
EnableRegisterUser
Is user registration enabled or not
Declaration
bool EnableRegisterUser { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
UserOwnsCatalog
Returns true if the security manager owns the user catalog and can edit them
Declaration
bool UserOwnsCatalog { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
GetRoleManager(HttpContextBase)
Declaration
ILocalRoleManager GetRoleManager(HttpContextBase context)
Parameters
Type |
Name |
Description |
System.Web.HttpContextBase |
context |
|
Returns
GetUserManager(IOwinContext)
Declaration
ILocalUserManager GetUserManager(IOwinContext context)
Parameters
Type |
Name |
Description |
Microsoft.Owin.IOwinContext |
context |
|
Returns
GetUserManager(HttpContextBase)
Declaration
ILocalUserManager GetUserManager(HttpContextBase context)
Parameters
Type |
Name |
Description |
System.Web.HttpContextBase |
context |
|
Returns
LoginAsync(HttpContextBase, ILoginModel)
Declaration
Task LoginAsync(HttpContextBase httpContext, ILoginModel model)
Parameters
Type |
Name |
Description |
System.Web.HttpContextBase |
httpContext |
|
ILoginModel |
model |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
RequestPasswordResetAsync(HttpContextBase, IRequestPasswordResetModel)
Requests a password reset operation
Declaration
Task RequestPasswordResetAsync(HttpContextBase httpContext, IRequestPasswordResetModel model)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
ReSignInCurrentUserAsync(HttpContextBase)
Tries to perform a login attempt w/o password and refreshes the claims for the user
Declaration
Task ReSignInCurrentUserAsync(HttpContextBase httpContext)
Parameters
Type |
Name |
Description |
System.Web.HttpContextBase |
httpContext |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
SignInUserAsync(HttpContextBase, ILocalUser)
Declaration
Task SignInUserAsync(HttpContextBase httpContext, ILocalUser resultUser)
Parameters
Type |
Name |
Description |
System.Web.HttpContextBase |
httpContext |
|
ILocalUser |
resultUser |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|