Exemplo n.º 1
0
 public AddPermissionAction(
     IResourceSetRepository resourceSetRepository,
     ITicketStore ticketStore,
     IRepositoryExceptionHelper repositoryExceptionHelper,
     IUmaConfigurationService configurationService,
     IUmaServerEventSource umaServerEventSource)
 {
     _resourceSetRepository     = resourceSetRepository;
     _ticketStore               = ticketStore;
     _repositoryExceptionHelper = repositoryExceptionHelper;
     _configurationService      = configurationService;
     _umaServerEventSource      = umaServerEventSource;
 }
Exemplo n.º 2
0
 public GetTokenByTicketIdAction(ITicketStore ticketStore, IUmaConfigurationService configurationService,
                                 IUmaServerEventSource umaServerEventSource, IAuthorizationPolicyValidator authorizationPolicyValidator, IAuthenticateInstructionGenerator authenticateInstructionGenerator,
                                 IAuthenticateClient authenticateClient, IJwtGenerator jwtGenerator, IClientHelper clientHelper, ITokenStore tokenStore)
 {
     _ticketStore                      = ticketStore;
     _configurationService             = configurationService;
     _umaServerEventSource             = umaServerEventSource;
     _authorizationPolicyValidator     = authorizationPolicyValidator;
     _authenticateInstructionGenerator = authenticateInstructionGenerator;
     _authenticateClient               = authenticateClient;
     _jwtGenerator                     = jwtGenerator;
     _clientHelper                     = clientHelper;
     _tokenStore = tokenStore;
 }