public InternalServiceClientValidator(
     IKiwiLogger logger,
     IClientSecretValidator clientValidator
     )
 {
     _logger          = logger;
     _clientValidator = clientValidator;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BearerTokenUsageValidator"/> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 public JWTTokenValidator(
     IKiwiLogger logger,
     IKeyMaterialService keys,
     IClientStore clients,
     IdentityServerOptions options)
 {
     _logger  = logger;
     _keys    = keys;
     _options = options;
     _clients = clients;
 }
 public CustomExtendEndpoint(IKiwiLogger kiwiLogger,
                             IInternalClientValidator clientValidator,
                             IGrantTypeValidator grantTypeValidator,
                             IAdditonalAudienceValidator additonalAudienceValidator,
                             IJWTTokenValidator jwtTokenValidator,
                             IExtendedTokenGenerator tokenGenerator)
 {
     _logger                     = kiwiLogger;
     _clientValidator            = clientValidator;
     _grantTypeValidator         = grantTypeValidator;
     _additonalAudienceValidator = additonalAudienceValidator;
     _jwtTokenValidator          = jwtTokenValidator;
     _tokenGenerator             = tokenGenerator;
 }
Пример #4
0
 public AdditonalAudienceValidator(IKiwiLogger logger, IResourceStore resources)
 {
     _logger    = logger;
     _resources = resources;
 }
Пример #5
0
 public ExtendedTokenGenerator(IKeyMaterialService keys, IKiwiLogger logger)
 {
     _keys   = keys;
     _logger = logger;
 }
 public InternalServiceGrantTypeValidator(IKiwiLogger logger)
 {
     _logger = logger;
 }