Class IdentityDescriptorService
Inheritance
System.Object
IdentityDescriptorService
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Web.Security.Identity
Assembly: ImageVault.Web.dll
Syntax
public class IdentityDescriptorService : IIdentityDescriptorService, IDisposable
Constructors
IdentityDescriptorService(ApplicationUserManager, ApplicationRoleManager)
Declaration
public IdentityDescriptorService(ApplicationUserManager applicationUserManager, ApplicationRoleManager applicationRoleManager)
Parameters
Type | Name | Description |
---|---|---|
ApplicationUserManager | applicationUserManager | |
ApplicationRoleManager | applicationRoleManager |
Methods
Create(IdentityFactoryOptions<IIdentityDescriptorService>, IOwinContext)
Declaration
public static IIdentityDescriptorService Create(IdentityFactoryOptions<IIdentityDescriptorService> options, IOwinContext context)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNet.Identity.Owin.IdentityFactoryOptions<IIdentityDescriptorService> | options | |
Microsoft.Owin.IOwinContext | context |
Returns
Type | Description |
---|---|
IIdentityDescriptorService |
Dispose()
Declaration
public void Dispose()
FindIdentitiesAsync(String, Int32)
Declaration
public Task<IList<IClaimDescriptor>> FindIdentitiesAsync(string searchString, int maxHits)
Parameters
Type | Name | Description |
---|---|---|
System.String | searchString | |
System.Int32 | maxHits |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IList<IClaimDescriptor>> |
Implements
System.IDisposable