public DiscoveryEndpointController(IdentityServerOptions options, IScopeStore scopes, IOwinContext context, ISigningKeyService keyService, CustomGrantValidator customGrants) { _options = options; _scopes = scopes; _context = context; _keyService = keyService; _customGrants = customGrants; }
public DiscoveryEndpoint(IdentityServerOptions options, IdentityServerContext context, IScopeStore scopes, ILogger<DiscoveryEndpoint> logger, ISigningKeyService keyService, CustomGrantValidator customGrants, SecretParser parsers) { _options = options; _scopes = scopes; _logger = logger; _keyService = keyService; _context = context; _customGrants = customGrants; _parsers = parsers; }
public DiscoveryEndpoint(IdentityServerOptions options, IdentityServerContext context, IScopeStore scopes, ILogger <DiscoveryEndpoint> logger, ISigningKeyService keyService, CustomGrantValidator customGrants, SecretParser parsers) { _options = options; _scopes = scopes; _logger = logger; _keyService = keyService; _context = context; _customGrants = customGrants; _parsers = parsers; }
public TokenValidator(IdentityServerOptions options, IClientStore clients, ITokenHandleStore tokenHandles, ICustomTokenValidator customValidator, OwinEnvironmentService owinEnvironment, ISigningKeyService keyService) { _options = options; _clients = clients; _tokenHandles = tokenHandles; _customValidator = customValidator; _context = new OwinContext(owinEnvironment.Environment); _keyService = keyService; _log = new TokenValidationLog(); }
public TokenValidator(IdentityServerOptions options, IdentityServerContext context, IClientStore clients, ITokenHandleStore tokenHandles, ICustomTokenValidator customValidator, ISigningKeyService keyService, ILogger<TokenValidator> logger) { _options = options; _context = context; _clients = clients; _tokenHandles = tokenHandles; _customValidator = customValidator; _keyService = keyService; _logger = logger; _log = new TokenValidationLog(); }
public TokenValidator(IdentityServerOptions options, IdentityServerContext context, IClientStore clients, ITokenHandleStore tokenHandles, ICustomTokenValidator customValidator, ISigningKeyService keyService, ILogger <TokenValidator> logger) { _options = options; _context = context; _clients = clients; _tokenHandles = tokenHandles; _customValidator = customValidator; _keyService = keyService; _logger = logger; _log = new TokenValidationLog(); }
public TokenValidator(IdentityServerOptions options, IClientStore clients, ITokenHandleStore tokenHandles, ICustomTokenValidator customValidator, string issuerUri, ISigningKeyService keyService) { if (string.IsNullOrEmpty(issuerUri)) { throw new ArgumentNullException("issuerUri"); } _options = options; _clients = clients; _tokenHandles = tokenHandles; _customValidator = customValidator; _issuerUri = issuerUri; _keyService = keyService; _log = new TokenValidationLog(); }
/// <summary> /// Initializes a new instance of the <see cref="DefaultTokenSigningService"/> class. /// </summary> /// <param name="keyService">The signing key service.</param> public DefaultTokenSigningService(ISigningKeyService keyService) { _keyService = keyService; }
// todo: remove in next major version /// <summary> /// Initializes a new instance of the <see cref="DefaultTokenSigningService"/> class. /// </summary> /// <param name="options">The options.</param> public DefaultTokenSigningService(IdentityServerOptions options) { _options = options; _keyService = new DefaultSigningKeyService(options); }
public TokenValidator(IdentityServerOptions options, IClientStore clients, ITokenHandleStore tokenHandles, ICustomTokenValidator customValidator, OwinEnvironmentService owinEnvironment, ISigningKeyService keyService) : this(options, clients, tokenHandles, customValidator, new OwinContext(owinEnvironment.Environment).GetIdentityServerIssuerUri(), keyService) { }
/// <summary> /// Initializes a new instance of the <see cref="DefaultTokenSigningService"/> class. /// </summary> /// <param name="options">The options.</param> public DefaultTokenSigningService(ISigningKeyService keyService) { _keyService = keyService; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultTokenSigningService"/> class. /// </summary> /// <param name="keyService">The signing key service.</param> /// <param name="certificateKeyService">The ceritificate key service</param> public DefaultTokenSigningService(ISigningKeyService keyService, ICertificateSigningKeyService certificateKeyService) { _keyService = keyService; _certificateKeyService = certificateKeyService; }
public MyTokenSigningService(ISigningKeyService keyService) : base(keyService) { }
public TokenService(ILogger <TokenService> logger, ISigningKeyService signingKeyService) { _logger = logger; _signingKeyService = signingKeyService; }