コード例 #1
0
        /// <summary>
        /// Configures the default cache for the client store.
        /// </summary>
        /// <param name="factory">The factory.</param>
        public static void ConfigureClientStoreCache(this IdentityServerServiceFactory factory)
        {
            var cache             = new DefaultCache <Client>();
            var cacheRegistration = new Registration <ICache <Client> >(cache);

            factory.ConfigureClientStoreCache(cacheRegistration);
        }