public ClientSecretValidator(IClientStore clients, IEnumerable<ISecretParser> parsers, IEnumerable<ISecretValidator> validators, OwinEnvironmentService environment)
 {
     _clients = clients;
     _parsers = parsers;
     _validators = validators;
     _environment = environment;
 }
 public AuthenticationController(
     OwinEnvironmentService owin,
     IViewService viewService,
     IUserService userService,
     IdentityServerOptions idSvrOptions,
     IClientStore clientStore,
     IEventService eventService,
     ILocalizationService localizationService,
     SessionCookie sessionCookie,
     MessageCookie<SignInMessage> signInMessageCookie,
     MessageCookie<SignOutMessage> signOutMessageCookie,
     LastUserNameCookie lastUsernameCookie,
     AntiForgeryToken antiForgeryToken)
 {
     this.context = new OwinContext(owin.Environment);
     this.viewService = viewService;
     this.userService = userService;
     this.options = idSvrOptions;
     this.clientStore = clientStore;
     this.eventService = eventService;
     this.localizationService = localizationService;
     this.sessionCookie = sessionCookie;
     this.signInMessageCookie = signInMessageCookie;
     this.signOutMessageCookie = signOutMessageCookie;
     this.lastUserNameCookie = lastUsernameCookie;
     this.antiForgeryToken = antiForgeryToken;
 }
 public SignInResponseGenerator(IdentityServerOptions options, IUserService users, OwinEnvironmentService owinEnvironment, ICustomWsFederationClaimsService customClaimsService)
 {
     _options = options;
     _users = users;
     _environment = owinEnvironment.Environment;
     _customClaimsService = customClaimsService;
 }
 public ClientSecretValidator(IClientStore clients, SecretParser parser, SecretValidator validator, OwinEnvironmentService environment, IEventService events)
 {
     _clients = clients;
     _parser = parser;
     _validator = validator;
     _environment = environment;
     _events = events;
 }
 public ScopeSecretValidator(IScopeStore scopes, IEnumerable<ISecretParser> parsers, IEnumerable<ISecretValidator> validators, OwinEnvironmentService environment, IEventService events)
 {
     _scopes = scopes;
     _parsers = parsers;
     _validators = validators;
     _environment = environment;
     _events = events;
 }
 public ScopeSecretValidator(IScopeStore scopes, SecretParser parsers, SecretValidator validator, OwinEnvironmentService environment, IEventService events)
 {
     _scopes = scopes;
     _environment = environment;
     _parser = parsers;
     _validator = validator;
     _events = events;
 }
        public TokenValidator(IdentityServerOptions options, IClientStore clients, ITokenHandleStore tokenHandles, ICustomTokenValidator customValidator, OwinEnvironmentService owinEnvironment)
        {
            _options = options;
            _clients = clients;
            _tokenHandles = tokenHandles;
            _customValidator = customValidator;
            _context = new OwinContext(owinEnvironment.Environment);

            _log = new TokenValidationLog();
        }
 public MetadataResponseGenerator(IdentityServerOptions options, OwinEnvironmentService owin)
 {
     _options = options;
     _environment = owin.Environment;
 }
 public AlwaysInvalidAccessTokenValidator(IdentityServerOptions options, IClientStore clients, ITokenHandleStore tokenHandles, ICustomTokenValidator customValidator, OwinEnvironmentService context)
     : base(options, clients, tokenHandles, customValidator, context)
 {
 }
 public HrdUserService(OwinEnvironmentService env)
     : base(users)
 {
     this.owinContext = new OwinContext(env.Environment);
 }
 public SignInResponseGenerator(IdentityServerOptions options, IUserService users, OwinEnvironmentService owinEnvironment)
 {
     _options = options;
     _users = users;
     _environment = owinEnvironment.Environment;
 }
Example #12
0
 public UserService(List<InMemoryUser> users, OwinEnvironmentService env) : base(users)
 {
     ctx = new OwinContext(env.Environment);
 }
 public AlwaysInvalidIdentityTokenValidator(IdentityServerOptions options, IClientStore clients, ITokenHandleStore tokenHandles, ICustomTokenValidator customValidator, OwinEnvironmentService context)
     : base(options, clients, tokenHandles, customValidator, context, new DefaultSigningKeyService(options))
 {
 }
 public CustomLoginPageUserService(OwinEnvironmentService owinEnv)
 {
     ctx = new OwinContext(owinEnv.Environment);
 }