Search Results for

    Show / Hide Table of Contents

    Class DummyIdentityDescriptorService

    A dummy identity descriptor service. Will always return what you are looking for.

    Inheritance
    System.Object
    DummyIdentityDescriptorService
    Implements
    IIdentityDescriptorService
    System.IDisposable
    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
    Assembly: ImageVault.Web.dll
    Syntax
    public class DummyIdentityDescriptorService : IIdentityDescriptorService, IDisposable

    Constructors

    DummyIdentityDescriptorService()

    Declaration
    public DummyIdentityDescriptorService()

    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)

    Dummy implementation that always returns the group you search for.

    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

    IIdentityDescriptorService
    System.IDisposable
    In This Article
    Back to top (c) Meriworks 2002-2022