/// <summary>
 /// Initializes a new instance of the <see cref="AzureKeyVaultTokenSigningService"/> class.
 /// </summary>
 /// <param name="options">The options.</param>
 public AzureKeyVaultPublicKeyProvider(IOptions <AzureKeyVaultTokenSigningServiceOptions> options)
 {
     _options        = options.Value;
     _authentication = new AzureKeyVaultAuthentication(_options.ClientId, _options.ClientSecret);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AzureKeyVaultTokenSigningService"/> class.
 /// </summary>
 /// <param name="options">The options.</param>
 public AzureKeyVaultPublicKeyProvider(IOptions<AzureKeyVaultTokenSigningServiceOptions> options)
 {
     _options = options.Value;
     _authentication = new AzureKeyVaultAuthentication(_options.ClientId, _options.ClientSecret);
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AzureKeyVaultTokenSigningService"/> class.
 /// </summary>
 /// <param name="options">The options.</param>
 public AzureKeyVaultTokenSigningService(IOptions <AzureKeyVaultTokenSigningServiceOptions> options)
 {
     _options = options.Value;
 }