public KeyResolver(List <JsonWebKey> privateJsonWebKeyList, JwksService jwksService, long cacheDurationSeconds) : this() { PrivateJsonWebKeyList = privateJsonWebKeyList; JwksService = jwksService; this.timer.Interval = cacheDurationSeconds * 1000; IsCacheExpired = true; }
/// <summary> /// Static Constructor /// </summary> static KeyResolver() { PublicJsonWebKeyList = new List <JsonWebKey>(); PrivateJsonWebKeyList = new List <JsonWebKey>(); IsCacheExpired = true; JwksService = default(JwksService); JwksServiceCallCount = 0; }