public JwtService(IIccPortalConfig iccPortalConfig, IUtcDateTimeProvider utcDateTimeProvider, ILogger <JwtService> logger) { _IccPortalConfig = iccPortalConfig ?? throw new ArgumentNullException(nameof(iccPortalConfig)); _DateTimeProvider = utcDateTimeProvider ?? throw new ArgumentNullException(nameof(utcDateTimeProvider)); _Logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public JwtClaimValidator(ITheIdentityHubService theIdentityHubService, ILogger <JwtClaimValidator> logger, IUtcDateTimeProvider dateTimeProvider, IIccPortalConfig iccPortalConfig) { _TheIdentityHubService = theIdentityHubService ?? throw new ArgumentNullException(nameof(theIdentityHubService)); _Logger = logger ?? throw new ArgumentNullException(nameof(logger)); _DateTimeProvider = dateTimeProvider ?? throw new ArgumentNullException(nameof(dateTimeProvider)); _IccPortalConfig = iccPortalConfig ?? throw new ArgumentNullException(nameof(iccPortalConfig)); }
public HttpGetAuthorisationRedirectCommand(IIccPortalConfig configuration, ILogger <HttpGetAuthorisationRedirectCommand> logger, IAuthCodeService authCodeService, IJwtService jwtService, ITheIdentityHubService theIdentityHubService, HttpGetLogoutCommand logoutCommand) { _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _authCodeService = authCodeService ?? throw new ArgumentNullException(nameof(authCodeService)); _jwtService = jwtService ?? throw new ArgumentNullException(nameof(jwtService)); _theIdentityHubService = theIdentityHubService ?? throw new ArgumentNullException(nameof(theIdentityHubService)); _logoutCommand = logoutCommand ?? throw new ArgumentNullException(nameof(logoutCommand)); }
public PolicyAuthorizationOptions(IWebHostEnvironment webHostEnvironment, IIccPortalConfig iccPortalConfig) { _WebHostEnvironment = webHostEnvironment ?? throw new ArgumentNullException(nameof(webHostEnvironment)); _IccPortalConfig = iccPortalConfig ?? throw new ArgumentNullException(nameof(iccPortalConfig)); }
public HttpGetAccessDeniedCommand(IIccPortalConfig configuration, ILogger <HttpGetAccessDeniedCommand> logger) { _Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _Logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public HttpGetLogoutCommand(IIccPortalConfig configuration, ITheIdentityHubService theIdentityHubService) { _Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _TheIdentityHubService = theIdentityHubService ?? throw new ArgumentNullException(nameof(theIdentityHubService)); }
public HttpGetAuthorisationRedirectCommand(IIccPortalConfig configuration, JwtService jwtService) { _Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _JwtService = jwtService ?? throw new ArgumentNullException(nameof(jwtService)); }
/// <summary> /// Builds options for the CorsPolicyBuilder /// </summary> /// <param name="iccPortalConfig"></param> public CorsOptions(IIccPortalConfig iccPortalConfig) { _iccPortalConfig = iccPortalConfig ?? throw new ArgumentNullException(nameof(iccPortalConfig)); }
public HttpGetLogoutCommand(IIccPortalConfig configuration) { _Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); }