public AccessTokenValidationController(TokenValidator validator, IdentityServerOptions options, ILocalizationService localizationService, IEventService events) { _validator = validator; _options = options; _localizationService = localizationService; _events = events; }
/// <summary> /// Initializes a new instance of the <see cref="UserInfoEndpointController"/> class. /// </summary> /// <param name="options">The options.</param> /// <param name="tokenValidator">The token validator.</param> /// <param name="generator">The generator.</param> /// <param name="tokenUsageValidator">The token usage validator.</param> public UserInfoEndpointController(IdentityServerOptions options, TokenValidator tokenValidator, UserInfoResponseGenerator generator, BearerTokenUsageValidator tokenUsageValidator) { _tokenValidator = tokenValidator; _generator = generator; _options = options; _tokenUsageValidator = tokenUsageValidator; }
public EndSessionRequestValidator(IdentityServerOptions options, IOwinContext context, TokenValidator tokenValidator, IClientStore clients) { _tokenValidator = tokenValidator; _validatedRequest = new ValidatedEndSessionRequest { Options = options, Environment = context.Environment }; }
public EndSessionRequestValidator(IdentityServerOptions options, TokenValidator tokenValidator, IRedirectUriValidator uriValidator) { _tokenValidator = tokenValidator; _uriValidator = uriValidator; _validatedRequest = new ValidatedEndSessionRequest { Options = options, }; }
public EndSessionRequestValidator(IdentityServerOptions options, TokenValidator tokenValidator, IRedirectUriValidator uriValidator) { _tokenValidator = tokenValidator; _uriValidator = uriValidator; _validatedRequest = new ValidatedEndSessionRequest { Options = options, }; }
public EndSessionRequestValidator(IdentityServerOptions options, IOwinContext context, TokenValidator tokenValidator, IRedirectUriValidator uriValidator) { _tokenValidator = tokenValidator; _uriValidator = uriValidator; _validatedRequest = new ValidatedEndSessionRequest { Options = options, Environment = context.Environment }; }
public EndSessionRequestValidator(IdentityServerOptions options, IOwinContext context, TokenValidator tokenValidator, IRedirectUriValidator uriValidator) { _tokenValidator = tokenValidator; _uriValidator = uriValidator; _validatedRequest = new ValidatedEndSessionRequest { Options = options, Environment = context.Environment }; }
public static TokenValidator CreateTokenValidator(ITokenHandleStore tokenStore = null, IUserService users = null) { if (users == null) { users = new TestUserService(); } var clients = CreateClientStore(); var validator = new TokenValidator( options: TestIdentityServerOptions.Create(), clients: clients, tokenHandles: tokenStore, customValidator: new DefaultCustomTokenValidator( users: users, clients: clients)); return validator; }
public AccessTokenValidationController(TokenValidator validator, IdentityServerOptions options) { _validator = validator; _options = options; }