public AadClient(IOptions <TokenOptions> options)
 {
     _options = options.Value;
 }
 public AuthTokenExtensionConfigProvider(IOptions <TokenOptions> options, IAadClient aadClient, IEasyAuthClient easyAuthClient, INameResolver appSettings)
 {
     _options = options.Value;
     _options.SetAppSettings(appSettings);
     _converter = new TokenConverter(options, easyAuthClient, aadClient);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EasyAuthTokenManager"/> class.
 /// </summary>
 /// <param name="hostName">The hostname of the keystore. </param>
 /// <param name="signingKey">The website authorization signing key</param>
 public EasyAuthTokenManager(IEasyAuthClient client, IOptions <TokenOptions> options)
 {
     _client  = client;
     _options = options.Value;
 }