Show / Hide Table of Contents

    Interface IUserInfoUpdaterCache

    This interface represents a cache that is used by the IUserInfoUpdater to save database roundtrips

    Namespace: Dangl.Identity.Client.Mvc.Services
    Assembly: Dangl.Identity.Client.Mvc.dll
    Syntax
    public interface IUserInfoUpdaterCache

    Methods

    | Improve this Doc View Source

    CacheUserIdAsync(Guid, DateTime)

    Caches the UserId with a given expiration time

    Declaration
    Task CacheUserIdAsync(Guid userId, DateTime expiration)
    Parameters
    Type Name Description
    System.Guid userId
    System.DateTime expiration
    Returns
    Type Description
    System.Threading.Tasks.Task
    | Improve this Doc View Source

    HasUserIdCachedAsync(Guid)

    Returns true if the UserId is in the cache

    Declaration
    Task<bool> HasUserIdCachedAsync(Guid userId)
    Parameters
    Type Name Description
    System.Guid userId
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    Extension Methods

    ObjectExtensions.Clone<T>(T)
    • Improve this Doc
    • View Source
    Back to top © Dangl IT - Georg Dangl