Example #1
0
 public GrantController(IPersistedGrantAspNetIdentityService persistedGrantService,
                        ILogger <ConfigurationController> logger,
                        IStringLocalizer <GrantController> localizer) : base(logger)
 {
     _persistedGrantService = persistedGrantService;
     _localizer             = localizer;
 }
Example #2
0
 public GrantController(IPersistedGrantAspNetIdentityService <AdminDbContext, UserIdentity, UserIdentityRole, string, UserIdentityUserClaim, UserIdentityUserRole, UserIdentityUserLogin, UserIdentityRoleClaim, UserIdentityUserToken> persistedGrantService,
                        ILogger <ConfigurationController> logger,
                        IStringLocalizer <GrantController> localizer) : base(logger)
 {
     _persistedGrantService = persistedGrantService;
     _localizer             = localizer;
 }
        public AdminApiMutation(IApiResourceService apiResourceService, IClientService clientService, IIdentityResourceService identityResourceService,
                                IPersistedGrantAspNetIdentityService persistedGrantsService, IMapper mapper)
        {
            // Store injected dependencies

            // Setup the Mutexes
            SetupApiResources();
            SetupClients();
            SetupIdentityResources();
            SetupPersistedGrants();
            SetupRoles();
            SetupUsers();
        }
Example #4
0
        public AdminApiQuery(IApiResourceService apiResourceService, IClientService clientService, IIdentityResourceService identityResourceService,
                             IPersistedGrantAspNetIdentityService persistedGrantsService, IMapper mapper)
        {
            // Store injected dependencies
            _apiResourceService      = apiResourceService;
            _clientService           = clientService;
            _identityResourceService = identityResourceService;
            _persistedGrantsService  = persistedGrantsService;
            _mapper = mapper;

            // Setup the Queries
            SetupApiResources();
            SetupClients();
            SetupIdentityResources();
            SetupPersistedGrants();
            SetupRoles();
            SetupUsers();
        }
 public PersistedGrantsController(IPersistedGrantAspNetIdentityService persistedGrantsService)
 {
     _persistedGrantsService = persistedGrantsService;
 }
 public PersistedGrantsController(IPersistedGrantAspNetIdentityService persistedGrantsService, IMapper mapper)
 {
     _persistedGrantsService = persistedGrantsService;
     _mapper = mapper;
 }