public IdentityUtilsAuthService(IClientStore clientStore, IEventService events, ITokenRequestValidator requestValidator, ITokenResponseGenerator responseGenerator) { ClientStore = clientStore; Events = events; RequestValidator = requestValidator; ResponseGenerator = responseGenerator; }
public TokenEndpoint(ITokenRequestValidator requestValidator, ClientSecretValidator clientValidator, ITokenResponseGenerator responseGenerator, ILogger <TokenEndpoint> logger) { _requestValidator = requestValidator; _clientValidator = clientValidator; _responseGenerator = responseGenerator; _logger = logger; }
public AnonymousTokenRequestValidator( Decorator <ITokenRequestValidator> decorator, AnonymousIdentityServerOptions options) { _inner = decorator.Instance; _options = options; }
public TokenEndpoint(ITokenRequestValidator requestValidator, ClientSecretValidator clientValidator, ITokenResponseGenerator responseGenerator, ILoggerFactory loggerFactory) { _requestValidator = requestValidator; _clientValidator = clientValidator; _responseGenerator = responseGenerator; _logger = loggerFactory.CreateLogger <TokenEndpoint>(); }
public TokenEndpoint(ITokenRequestValidator requestValidator, ClientSecretValidator clientValidator, ITokenResponseGenerator responseGenerator, ILoggerFactory loggerFactory) { _requestValidator = requestValidator; _clientValidator = clientValidator; _responseGenerator = responseGenerator; _logger = loggerFactory.CreateLogger<TokenEndpoint>(); }
public TokenProvider(IHttpContextAccessor httpContextAccessor, ITokenResponseGenerator responseGenerator, IClientSecretValidator clientValidator, ITokenRequestValidator requestValidator) { _httpContextAccessor = httpContextAccessor; _responseGenerator = responseGenerator; _clientValidator = clientValidator; _requestValidator = requestValidator; }
/// <summary> /// Initializes a new instance of the <see cref="TokenEndpoint" /> class. /// </summary> /// <param name="clientValidator">The client validator.</param> /// <param name="requestValidator">The request validator.</param> /// <param name="responseGenerator">The response generator.</param> /// <param name="events">The events.</param> /// <param name="logger">The logger.</param> public TokenEndpoint(ClientSecretValidator clientValidator, ITokenRequestValidator requestValidator, ITokenResponseGenerator responseGenerator, IEventService events, ILogger <TokenEndpoint> logger) { _clientValidator = clientValidator; _requestValidator = requestValidator; _responseGenerator = responseGenerator; _events = events; _logger = logger; }
public TokenProvider(ITokenRequestValidator tokenRequestValidator, IClientSecretValidator clientSecretValidator, ITokenResponseGenerator tokenResponseGenerator, IHttpContextAccessor httpContextAccessor) { _requestValidator = tokenRequestValidator ?? throw new System.ArgumentNullException(nameof(tokenRequestValidator)); _clientValidator = clientSecretValidator ?? throw new System.ArgumentNullException(nameof(clientSecretValidator)); _responseGenerator = tokenResponseGenerator ?? throw new System.ArgumentNullException(nameof(tokenResponseGenerator)); _httpContextAccessor = httpContextAccessor ?? throw new System.ArgumentNullException(nameof(httpContextAccessor)); }
public AuthenticationControllerApiBase( IIdentityUtilsAuthService identityUtilsAuthService, ILogger logger) { requestValidator = identityUtilsAuthService.RequestValidator; responseGenerator = identityUtilsAuthService.ResponseGenerator; events = identityUtilsAuthService.Events; clientStore = identityUtilsAuthService.ClientStore; Logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="TokenEndpoint" /> class. /// </summary> /// <param name="clientValidator">The client validator.</param> /// <param name="requestValidator">The request validator.</param> /// <param name="responseGenerator">The response generator.</param> /// <param name="events">The events.</param> /// <param name="logger">The logger.</param> public TokenEndpoint( IClientSecretValidator clientValidator, ITokenRequestValidator requestValidator, ITokenResponseGenerator responseGenerator, IEventService events) { _clientValidator = clientValidator; _requestValidator = requestValidator; _responseGenerator = responseGenerator; _events = events; }
public IdentityTokenService( ITokenRequestValidator requestValidator, IClientSecretValidator clientValidator, ITokenResponseGenerator responseGenerator, IHttpContextAccessor httpContextAccessor) { _requestValidator = requestValidator; _clientValidator = clientValidator; _responseGenerator = responseGenerator; _httpContextAccessor = httpContextAccessor; }
public TokenEndpoint( OIDCPipelineOptions options, IOIDCPipelineStore oidcPipelineStore, ITokenRequestValidator tokenRequestValidator, ISerializer serializer, ILogger <AuthorizeEndpoint> logger) { _options = options; _oidcPipelineStore = oidcPipelineStore; _tokenRequestValidator = tokenRequestValidator; _serializer = serializer; _logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="TokenEndpointExtra" /> class. /// </summary> /// <param name="clients">The clients store.</param> /// <param name="requestValidator">The request validator.</param> /// <param name="responseGenerator">The response generator.</param> /// <param name="events">The events.</param> /// <param name="logger">The logger.</param> public TokenEndpointExtra( IClientStore clients, ITokenRequestValidator requestValidator, ITokenResponseGenerator responseGenerator, IEventService events, ILogger <TokenEndpointExtra> logger) { _clients = clients; _requestValidator = requestValidator; _responseGenerator = responseGenerator; _events = events; _logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="TokenEndpoint" /> class. /// </summary> /// <param name="clientValidator">The client validator.</param> /// <param name="requestValidator">The request validator.</param> /// <param name="responseGenerator">The response generator.</param> /// <param name="events">The events.</param> /// <param name="logger">The logger.</param> public MyEndpointHandler( IClientSecretValidator clientValidator, ITokenRequestValidator requestValidator, ITokenResponseGenerator responseGenerator, IEventService events, ILogger <MyEndpointHandler> logger) { _clientValidator = clientValidator; _requestValidator = requestValidator; _responseGenerator = responseGenerator; _events = events; _logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="TokenEndpoint" /> class. /// </summary> /// <param name="clientValidator">The client validator.</param> /// <param name="requestValidator">The request validator.</param> /// <param name="responseGenerator">The response generator.</param> /// <param name="events">The events.</param> /// <param name="logger">The logger.</param> public TokenEndpoint( IClientSecretValidator clientValidator, ITokenRequestValidator requestValidator, ITokenResponseGenerator responseGenerator, IEventService events, ILogger <TokenEndpoint> logger) { _clientValidator = clientValidator ?? throw new ArgumentNullException(nameof(clientValidator)); _requestValidator = requestValidator ?? throw new ArgumentNullException(nameof(requestValidator)); _responseGenerator = responseGenerator ?? throw new ArgumentNullException(nameof(responseGenerator)); _events = events ?? throw new ArgumentNullException(nameof(events)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
/// <summary> /// Initializes a new instance of the <see cref="TokenTokenEndpointExtra" /> class. /// </summary> /// <param name="clients">The clients store.</param> /// <param name="requestValidator">The request validator.</param> /// <param name="responseGenerator">The response generator.</param> /// <param name="events">The events.</param> /// <param name="logger">The logger.</param> public TokenTokenEndpointExtra( IHttpContextAccessor httpContextAccessor, IClientStore clients, ITokenRequestValidator requestValidator, ITokenResponseGenerator responseGenerator, ITokenRevocationRequestValidator revocationRequestValidator, ITokenRevocationResponseGenerator revocationResponseGenerator, IEventService events, ILogger <TokenTokenEndpointExtra> logger) { _httpContextAccessor = httpContextAccessor; _clients = clients; _requestValidator = requestValidator; _responseGenerator = responseGenerator; _revocationRequestValidator = revocationRequestValidator; _revocationResponseGenerator = revocationResponseGenerator; _events = events; _logger = logger; }