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, ILogger <TokenEndpoint> logger) { _requestValidator = requestValidator; _clientValidator = clientValidator; _responseGenerator = responseGenerator; _logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="TokenEndpointController" /> class. /// </summary> /// <param name="options">The options.</param> /// <param name="requestValidator">The request validator.</param> /// <param name="clientValidator">The client validator.</param> /// <param name="generator">The generator.</param> /// <param name="events">The events service.</param> public TokenEndpointController(IdentityServerOptions options, TokenRequestValidator requestValidator, ClientSecretValidator clientValidator, TokenResponseGenerator generator, IEventService events) { _requestValidator = requestValidator; _clientValidator = clientValidator; _generator = generator; _options = options; _events = events; }
/// <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 RevocationEndpointController(IdentityServerOptions options, ClientSecretValidator clientValidator, TokenRevocationRequestValidator requestValidator, ITokenHandleStore tokenHandles, IRefreshTokenStore refreshTokens, IEventService events) { _options = options; _clientValidator = clientValidator; _requestValidator = requestValidator; _tokenHandles = tokenHandles; _refreshTokens = refreshTokens; _events = events; }
public RevocationEndpoint(ILogger <RevocationEndpoint> logger, ClientSecretValidator clientValidator, ITokenRevocationRequestValidator requestValidator, IPersistedGrantService grants, IEventService events) { _logger = logger; _clientValidator = clientValidator; _requestValidator = requestValidator; _grants = grants; _events = events; }
/// <summary> /// Initializes a new instance of the <see cref="TokenRevocationEndpoint" /> class. /// </summary> /// <param name="logger">The logger.</param> /// <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> public TokenRevocationEndpoint(ILogger <TokenRevocationEndpoint> logger, ClientSecretValidator clientValidator, ITokenRevocationRequestValidator requestValidator, ITokenRevocationResponseGenerator responseGenerator, IEventService events) { _logger = logger; _clientValidator = clientValidator; _requestValidator = requestValidator; _responseGenerator = responseGenerator; _events = events; }
/// <summary> /// Initializes a new instance of the <see cref="RevocationEndpoint"/> class. /// </summary> /// <param name="logger">The logger.</param> /// <param name="clientValidator">The client validator.</param> /// <param name="requestValidator">The request validator.</param> /// <param name="referenceTokenStore">The reference token store.</param> /// <param name="refreshTokenStore">The refresh token store.</param> /// <param name="events">The events.</param> public RevocationEndpoint(ILogger <RevocationEndpoint> logger, ClientSecretValidator clientValidator, ITokenRevocationRequestValidator requestValidator, IReferenceTokenStore referenceTokenStore, IRefreshTokenStore refreshTokenStore, IEventService events) { _logger = logger; _clientValidator = clientValidator; _requestValidator = requestValidator; _referenceTokenStore = referenceTokenStore; _refreshTokenStore = refreshTokenStore; _events = events; }
/// <summary> /// Initializes a new instance of the <see cref="IdentityServer4.Validation.ClientSecretValidator"/> class. /// </summary> /// <param name="clients">The clients.</param> /// <param name="parser">The parser.</param> /// <param name="validator">The validator.</param> /// <param name="events">The events.</param> /// <param name="logger">The logger.</param> public NoSecretRefreshClientSecretValidator( ClientSecretValidator stockClientSecretValidator, IClientStore clients, SecretParser parser, ISecretParserExtra secretParserExtra, SecretValidator validator, IEventService events, ILogger <NoSecretRefreshClientSecretValidator> logger) { StockClientSecretValidator = stockClientSecretValidator; _clients = clients; _parser = parser; _secretParserExtra = secretParserExtra; _validator = validator; _events = events; _logger = logger; }