/// <summary>
 /// Initializes a new instance of the <see cref="AuthorizationProvider{T}" /> class.
 /// </summary>
 /// <param name="authorizationInteractionClient">The authorization interaction service.</param>
 /// <param name="csfrTokenProvider">The CSFR token provider.</param>
 /// <param name="authorizationCallbackUrlProvider">The authentication callback URL provider.</param>
 /// <param name="authorizationOptionsProvider">The authorization options provider.</param>
 /// <param name="responseType">Type of the response.</param>
 public AuthorizationProvider(
     IAuthorizationInteractionClient <T> authorizationInteractionClient,
     ICsrfTokenProvider csfrTokenProvider,
     IAuthorizationCallbackUriProvider authorizationCallbackUrlProvider,
     IOptionsProvider <IAuthorizationOptions> authorizationOptionsProvider,
     string responseType)
 {
     this.authorizationInteractionClient   = authorizationInteractionClient;
     this.authorizationCallbackUrlProvider = authorizationCallbackUrlProvider;
     this.csfrTokenProvider = csfrTokenProvider;
     this.authorizationCallbackUrlProvider = authorizationCallbackUrlProvider;
     this.authorizationOptionsProvider     = authorizationOptionsProvider;
     this.responseType = responseType;
 }
 public NaiveTokenProxyClient(ITokenHttpClient tokenHttpClient, IAuthorizationCallbackUriProvider authorizationCallbackUriProvider)
 {
     this.tokenHttpClient = tokenHttpClient;
     this.authorizationCallbackUriProvider = authorizationCallbackUriProvider;
 }