/// <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); }