public AuthorizationRequestFactory(
     IClientIdValidator clientIdValidator,
     IRedirectUriResolver redirectUriValidator,
     IScopeResolver scopeValidator,
     IEnumerable <IAuthorizationRequestValidator> validators,
     ProtocolErrorProvider errorProvider)
 {
     _clientIdValidator    = clientIdValidator;
     _redirectUrlValidator = redirectUriValidator;
     _scopeValidator       = scopeValidator;
     _validators           = validators;
     _errorProvider        = errorProvider;
 }
 public TokenRequestFactory(
     IClientIdValidator clientIdValidator,
     IRedirectUriResolver redirectUriValidator,
     IScopeResolver scopeResolver,
     IEnumerable <ITokenRequestValidator> validators,
     ITokenManager tokenManager,
     ITimeStampManager timeStampManager,
     ProtocolErrorProvider errorProvider)
 {
     _clientIdValidator    = clientIdValidator;
     _redirectUriValidator = redirectUriValidator;
     _scopeResolver        = scopeResolver;
     _validators           = validators;
     _tokenManager         = tokenManager;
     _errorProvider        = errorProvider;
     _timeStampManager     = timeStampManager;
 }