public SessionController(IAuthenticationService authenticationService, IClientRepository clientRepository, IJwtParser jwtParser) { _authenticationService = authenticationService; _clientRepository = clientRepository; _jwtParser = jwtParser; }
public ResourcesAPIController( IUMAResourceRepository umaResourceRepository, IJwtParser jwtParser, IOptions <UMAHostOptions> umaHostoptions) : base(jwtParser, umaHostoptions) { _umaResourceRepository = umaResourceRepository; }
public AuthenticateClient(IJwsGenerator jwsGenerator, IJwtParser jwtParser, IOAuthClientRepository oauthClientRepository, IEnumerable <IOAuthClientAuthenticationHandler> handlers) { _jwsGenerator = jwsGenerator; _jwtParser = jwtParser; _oauthClientRepository = oauthClientRepository; _handlers = handlers; }
public CheckSessionController(IAuthenticationService authenticationService, IJwtParser jwtParser, IOAuthClientQueryRepository oAuthClientQueryRepository, IOptions <OpenIDHostOptions> options) { _authenticationService = authenticationService; _jwtParser = jwtParser; _oauthClientQueryRepository = oAuthClientQueryRepository; _openidHostOptions = options.Value; }
public AddOpenBankingApiClientHandler( IOAuthClientRepository oauthClientRepository, IJwtParser jwtParser, IHttpClientFactory httpClientFactory, IOAuthClientValidator oauthClientValidator, IOptions <OAuthHostOptions> oauthHostOptions, IOptions <OpenIDHostOptions> openidHostOptions) : base(oauthClientRepository, jwtParser, httpClientFactory, oauthClientValidator, oauthHostOptions, openidHostOptions) { }
public PermissionsAPIController( IUMAResourceRepository umaResourceRepository, IUMAPermissionTicketHelper permissionTicketHelper, IJwtParser jwtParser, IOptions <UMAHostOptions> umaHostoptions) : base(jwtParser, umaHostoptions) { _umaResourceRepository = umaResourceRepository; _permissionTicketHelper = permissionTicketHelper; }
public ManagementController( IUMAResourceRepository umaResourceRepository, IUMAPendingRequestRepository umaPendingRequestRepository, IJwtParser jwtParser, IOptions <UMAHostOptions> umaHostoptions) : base(jwtParser, umaHostoptions) { _umaResourceRepository = umaResourceRepository; _umaPendingRequestRepository = umaPendingRequestRepository; }
public UserInfoController(IJwtParser jwtParser, IJwtBuilder jwtBuilder, IOAuthScopeQueryRepository oauthScopeRepository, IOAuthUserQueryRepository oauthUserRepository, IOAuthClientQueryRepository oauthClientRepository, IEnumerable <IClaimsSource> claimsSources) { _jwtParser = jwtParser; _jwtBuilder = jwtBuilder; _oauthScopeRepository = oauthScopeRepository; _oauthUserRepository = oauthUserRepository; _oauthClientRepository = oauthClientRepository; _claimsSources = claimsSources; }
public ClientAssertionAuthentication( IJwsParser jwsParser, IConfigurationService configurationService, IClientRepository clientRepository, IJwtParser jwtParser) { _jwsParser = jwsParser; _configurationService = configurationService; _clientRepository = clientRepository; _jwtParser = jwtParser; }
public AddOpenIdClientHandler( IOAuthClientQueryRepository oauthClientQueryRepository, IOAuthClientCommandRepository oAuthClientCommandRepository, IJwtParser jwtParser, IHttpClientFactory httpClientFactory, IOAuthClientValidator oauthClientValidator, IOptions <OAuthHostOptions> oauthHostOptions, IOptions <OpenIDHostOptions> openidHostOptions) : base(oauthClientQueryRepository, oAuthClientCommandRepository, jwtParser, httpClientFactory, oauthClientValidator, oauthHostOptions) { _openIDHostOptions = openidHostOptions.Value; }
public RequestsAPIController( IUMAPendingRequestRepository umaPendingRequestRepository, IUMAResourceRepository umaResourceRepository, IEnumerable <IClaimTokenFormat> claimTokenFormats, IJwtParser jwtParser, IOptions <UMAHostOptions> umaHostoptions) : base(jwtParser, umaHostoptions) { _umaPendingRequestRepository = umaPendingRequestRepository; _umaResourceRepository = umaResourceRepository; _claimTokenFormats = claimTokenFormats; }
public OpenBankingApiAuthorizationRequestValidator( IOptions <OpenBankingApiOptions> options, ILogger <OpenBankingApiAuthorizationRequestValidator> logger, IAccountAccessConsentRepository accountAccessConsentRepository, IAmrHelper amrHelper, IJwtParser jwtParser) : base(amrHelper, jwtParser) { _options = options.Value; _logger = logger; _accountAccessConsentRepository = accountAccessConsentRepository; }
public OpenIDAuthorizationRequestValidator( IUserConsentFetcher userConsentFetcher, IEnumerable <IOAuthResponseMode> oauthResponseModes, IHttpClientFactory httpClientFactory, IAmrHelper amrHelper, IJwtParser jwtParser, IExtractRequestHelper extractRequestHelper) : base(userConsentFetcher, oauthResponseModes, httpClientFactory) { _amrHelper = amrHelper; _jwtParser = jwtParser; _extractRequestHelper = extractRequestHelper; }
public BCAuthorizeRequestValidator( IJwtParser jwtParser, IOAuthUserRepository oauthUserRepository, IBCAuthorizeRepository bcAuthorizeRepository, IRequestObjectValidator requestObjectValidator, IOptions <OpenIDHostOptions> options) { _jwtParser = jwtParser; _oauthUserRepository = oauthUserRepository; _bcAuthorizeRepository = bcAuthorizeRepository; _requestObjectValidator = requestObjectValidator; _options = options.Value; }
public AddOAuthClientHandler( IOAuthClientRepository oAuthClientRepository, IJwtParser jwtParser, IHttpClientFactory httpClientFactory, IOAuthClientValidator oauthClientValidator, IOptions <OAuthHostOptions> oauthHostOptions) { OAuthClientRepository = oAuthClientRepository; _jwtParser = jwtParser; _httpClientFactory = httpClientFactory; _oauthClientValidator = oauthClientValidator; OauthHostOptions = oauthHostOptions.Value; }
public GetAccountsQueryHandler( ITokenQueryRepository tokenQueryRepository, IJwtParser jwtParser, IAccountAccessConsentRepository accountAccessConsentRepository, IAccountRepository accountRepository, IOptions <OpenBankingApiOptions> options, ILogger <GetAccountsQueryHandler> logger) { _tokenQueryRepository = tokenQueryRepository; _jwtParser = jwtParser; _accountAccessConsentRepository = accountAccessConsentRepository; _accountRepository = accountRepository; _options = options.Value; _logger = logger; }
public CheckSessionController( IOptions <OpenIDHostOptions> options, IJwtParser jwtParser, IOAuthUserRepository oAuthUserRepository, IOAuthClientRepository oAuthClientRepository, IJwtBuilder jwtBuilder, IHttpClientFactory httpClientFactory) { _options = options.Value; _jwtParser = jwtParser; _oauthUserRepository = oAuthUserRepository; _oauthClientRepository = oAuthClientRepository; _jwtBuilder = jwtBuilder; _httpClientFactory = httpClientFactory; }
public AuthorizationController( IAuthorizationActions authorizationActions, IDataProtectionProvider dataProtectionProvider, IEncoder encoder, IActionResultParser actionResultParser, IJwtParser jwtParser, IAuthenticationService authenticationService) { _authorizationActions = authorizationActions; _dataProtector = dataProtectionProvider.CreateProtector("Request"); _encoder = encoder; _actionResultParser = actionResultParser; _jwtParser = jwtParser; _authenticationService = authenticationService; }
private void InitializeFakeObjects() { _jweParserMock = new Mock <IJweParser>(); _jwsParserMock = new Mock <IJwsParser>(); _httpClientFactoryMock = new Mock <IHttpClientFactory>(); _clientRepositoryStub = new Mock <IClientRepository>(); _jsonWebKeyConverterMock = new Mock <IJsonWebKeyConverter>(); _jsonWebKeyRepositoryMock = new Mock <IJsonWebKeyRepository>(); _jwtParser = new JwtParser( _jweParserMock.Object, _jwsParserMock.Object, _httpClientFactoryMock.Object, _clientRepositoryStub.Object, _jsonWebKeyConverterMock.Object, _jsonWebKeyRepositoryMock.Object); }
public OpenBankingApiAuthorizationRequestValidator( IOptions <OpenBankingApiOptions> options, IAccountAccessConsentRepository accountAccessConsentRepository, ILogger <OpenBankingApiAuthorizationRequestValidator> logger, IUserConsentFetcher userConsentFetcher, IEnumerable <IOAuthResponseMode> oauthResponseModes, IHttpClientFactory httpClientFactory, IAmrHelper amrHelper, IJwtParser jwtParser, IOAuthWorkflowConverter workflowConverter, IExtractRequestHelper extractRequestHelper) : base(userConsentFetcher, oauthResponseModes, httpClientFactory, amrHelper, jwtParser, extractRequestHelper) { _options = options.Value; _accountAccessConsentRepository = accountAccessConsentRepository; _logger = logger; _workflowConverter = workflowConverter; }
public OAuthRegisterRequestHandler(IEnumerable <IGrantTypeHandler> grantTypeHandlers, IEnumerable <IResponseTypeHandler> responseTypeHandlers, IEnumerable <IOAuthClientAuthenticationHandler> oauthClientAuthenticationHandlers, IOAuthClientQueryRepository oauthClientQueryRepository, IOAuthClientCommandRepository oAuthClientCommandRepository, IOAuthScopeQueryRepository oauthScopeRepository, IJwtParser jwtParser, IHttpClientFactory httpClientFactory, IEnumerable <ISignHandler> signHandlers, IEnumerable <ICEKHandler> cekHandlers, IEnumerable <IEncHandler> encHandlers, IOptions <OAuthHostOptions> oauthHostOptions) { _grantTypeHandlers = grantTypeHandlers; _responseTypeHandlers = responseTypeHandlers; _oauthClientAuthenticationHandlers = oauthClientAuthenticationHandlers; _oauthClientQueryRepository = oauthClientQueryRepository; _oauthClientCommandRepository = oAuthClientCommandRepository; _oauthScopeRepository = oauthScopeRepository; _jwtParser = jwtParser; _httpClientFactory = httpClientFactory; _signHandlers = signHandlers; _cekHandlers = cekHandlers; _encHandlers = encHandlers; OauthHostOptions = oauthHostOptions.Value; }
public RefreshTokenHandler( IRefreshTokenGrantTypeValidator refreshTokenGrantTypeValidator, IGrantedTokenHelper grantedTokenHelper, IEnumerable <ITokenProfile> tokenProfiles, IEnumerable <ITokenBuilder> tokenBuilders, IClientAuthenticationHelper clientAuthenticationHelper, IJwtParser jwtParser, IJwsGenerator jwsGenerator, ILogger <RefreshTokenHandler> logger) : base(clientAuthenticationHelper) { _refreshTokenGrantTypeValidator = refreshTokenGrantTypeValidator; _grantedTokenHelper = grantedTokenHelper; _tokenProfiles = tokenProfiles; _tokenBuilders = tokenBuilders; _jwtParser = jwtParser; _jwsGenerator = jwsGenerator; _logger = logger; }
public ProcessAuthorizationRequest( IParameterParserHelper parameterParserHelper, IClientValidator clientValidator, IScopeValidator scopeValidator, IActionResultFactory actionResultFactory, IConsentHelper consentHelper, IJwtParser jwtParser, IConfigurationService configurationService, IOAuthEventSource oauthEventSource) { _parameterParserHelper = parameterParserHelper; _clientValidator = clientValidator; _scopeValidator = scopeValidator; _actionResultFactory = actionResultFactory; _consentHelper = consentHelper; _jwtParser = jwtParser; _configurationService = configurationService; _oauthEventSource = oauthEventSource; }
public UserInfoController( IJwtParser jwtParser, IJwtBuilder jwtBuilder, IOAuthScopeQueryRepository oauthScopeRepository, IOAuthUserQueryRepository oauthUserRepository, IOAuthClientQueryRepository oauthClientRepository, IEnumerable <IClaimsSource> claimsSources, ITokenQueryRepository tokenQueryRepository, IClaimsJwsPayloadEnricher claimsJwsPayloadEnricher, ILogger <UserInfoController> logger) { _jwtParser = jwtParser; _jwtBuilder = jwtBuilder; _oauthScopeRepository = oauthScopeRepository; _oauthUserRepository = oauthUserRepository; _oauthClientRepository = oauthClientRepository; _claimsSources = claimsSources; _tokenQueryRepository = tokenQueryRepository; _claimsJwsPayloadEnricher = claimsJwsPayloadEnricher; _logger = logger; }
public OpenIDAuthorizationRequestValidator(IAmrHelper amrHelper, IJwtParser jwtParser) { _amrHelper = amrHelper; _jwtParser = jwtParser; }
public AggregateHttpClaimsSource(AggregateHttpClaimsSourceOptions httpClaimsSourceOptions, IJwtBuilder jwtBuilder, IJwtParser jwtParser) { _httpClaimsSourceOptions = httpClaimsSourceOptions; _jwtBuilder = jwtBuilder; _jwtParser = jwtParser; }
public OpenIDClaimTokenFormat(IOptions <UMAHostOptions> umaHostOptions, IJwtParser jwtParser) { _umaHostOptions = umaHostOptions.Value; _jwtParser = jwtParser; }
public OAuthClientSecretJwtAuthenticationHandler(IJwsGenerator jwsGenerator, IJwtParser jwtParser) { _jwsGenerator = jwsGenerator; _jwtParser = jwtParser; }
public ClientHelper(IClientRepository clientRepository, IJwtGenerator jwtGenerator, IJwtParser jwtParser) { _clientRepository = clientRepository; _jwtGenerator = jwtGenerator; _jwtParser = jwtParser; }
public OAuthClientPrivateKeyJwtAuthenticationHandler(IJwsGenerator jwsGenerator, IJwtParser jwtParser) { _jwsGenerator = jwsGenerator; _jwtParser = jwtParser; }