public PermissionsAPIController( IUMAResourceRepository umaResourceRepository, IUMAPermissionTicketHelper permissionTicketHelper, IJwtParser jwtParser, IOptions <UMAHostOptions> umaHostoptions) : base(jwtParser, umaHostoptions) { _umaResourceRepository = umaResourceRepository; _permissionTicketHelper = permissionTicketHelper; }
public UmaTicketHandler(IEnumerable <ITokenProfile> tokenProfiles, IUmaTicketGrantTypeValidator umaTicketGrantTypeValidator, IEnumerable <IClaimTokenFormat> claimTokenFormatFetchers, IUMAPermissionTicketHelper umaPermissionTicketHelper, IUMAResourceQueryRepository umaResourceQueryRepository, IUMAPendingRequestCommandRepository umaPendingRequestCommandRepository, IUMAPendingRequestQueryRepository umaPendingRequestQueryRepository, IEnumerable <ITokenBuilder> tokenBuilders, IOptions <UMAHostOptions> umaHostOptions, IClientAuthenticationHelper clientAuthenticationHelper) : base(clientAuthenticationHelper) { _tokenProfiles = tokenProfiles; _umaTicketGrantTypeValidator = umaTicketGrantTypeValidator; _claimTokenFormatFetchers = claimTokenFormatFetchers; _umaPermissionTicketHelper = umaPermissionTicketHelper; _umaResourceQueryRepository = umaResourceQueryRepository; _umaPendingRequestCommandRepository = umaPendingRequestCommandRepository; _umaPendingRequestQueryRepository = umaPendingRequestQueryRepository; _umaHostOptions = umaHostOptions.Value; _tokenBuilders = tokenBuilders; }