Exemple #1
0
        /// <summary>
        /// Configures the default cache for the scope store.
        /// </summary>
        /// <param name="factory">The factory.</param>
        public static void ConfigureScopeStoreCache(this IdentityServerServiceFactory factory)
        {
            var cache             = new DefaultCache <IEnumerable <Scope> >();
            var cacheRegistration = new Registration <ICache <IEnumerable <Scope> > >(cache);

            factory.ConfigureScopeStoreCache(cacheRegistration);
        }