public VerifyTicketPushCommandHandler( IOptions <ThirdPartyOptions> thirdPartyOptions, RedisManager redisManager) { _thirdPartyOptions = thirdPartyOptions.Value; _redisManager = redisManager; }
public ThirdPartyOauthService(IOptionsMonitor <ThirdPartyOptions> thirdPartyOptionsMonitor, RedisManager redisManager) { _redisManager = redisManager; _thirdPartyOptions = thirdPartyOptionsMonitor.CurrentValue; }