/// <summary>
 /// Initializes a new instance of the <see cref="BackchannelClientException" /> class.
 /// </summary>
 /// <param name="config">Contains the optional inspire client configuration settings.</param>
 /// <param name="message">Contains a message.</param>
 /// <param name="innerException">Contains an optional inner exception.</param>
 public BackchannelClientException(BackchannelConfig config, string message = "", Exception innerException = null)
     : base(message, innerException)
 {
     this.ClientConfiguration = config;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BackchannelClient" /> class.
 /// </summary>
 /// <param name="config">Contains the configuration of the Backchannel client.</param>
 public BackchannelClient(BackchannelConfig config)
 {
     this.Configuration        = config ?? throw new ArgumentNullException(nameof(config));
     this.defaultTokenEndpoint = new Uri(this.Configuration.AuthorityUri, "/connect/token").ToString();
 }