예제 #1
0
 public UpdateOAuthClientHandler(
     IOAuthClientValidator oauthClientValidator,
     IOAuthClientRepository oAuthClientRepository,
     ILogger <BaseOAuthClientHandler> logger) : base(oAuthClientRepository, logger)
 {
     _oauthClientValidator = oauthClientValidator;
 }
예제 #2
0
 public OpenBankingApiAccountConsentController(
     IOAuthUserRepository oauthUserRepository,
     IOAuthClientRepository oauthClientRepository,
     IUserConsentFetcher userConsentFetcher,
     IDataProtectionProvider dataProtectionProvider,
     IAccountAccessConsentRepository accountAccessConsentRepository,
     IAccountRepository accountRepository,
     IExtractRequestHelper extractRequestHelper,
     IResponseModeHandler responseModeHandler,
     IMediator mediator,
     ILogger <OpenBankingApiAccountConsentController> logger,
     IOptions <OAuthHostOptions> oauthHostOptions,
     IOptions <OpenBankingApiOptions> openbankingApiOptions)
 {
     _oauthUserRepository            = oauthUserRepository;
     _oauthClientRepository          = oauthClientRepository;
     _userConsentFetcher             = userConsentFetcher;
     _dataProtector                  = dataProtectionProvider.CreateProtector("Authorization");
     _accountAccessConsentRepository = accountAccessConsentRepository;
     _accountRepository              = accountRepository;
     _responseModeHandler            = responseModeHandler;
     _extractRequestHelper           = extractRequestHelper;
     _mediator              = mediator;
     _logger                = logger;
     _oauthHostOptions      = oauthHostOptions.Value;
     _openbankingApiOptions = openbankingApiOptions.Value;
 }
예제 #3
0
 public AuthenticateClient(IJwsGenerator jwsGenerator, IJwtParser jwtParser, IOAuthClientRepository oauthClientRepository, IEnumerable <IOAuthClientAuthenticationHandler> handlers)
 {
     _jwsGenerator          = jwsGenerator;
     _jwtParser             = jwtParser;
     _oauthClientRepository = oauthClientRepository;
     _handlers = handlers;
 }
예제 #4
0
 public DeleteOAuthClientHandler(
     IOAuthClientRepository oauthClientRepository,
     ILogger <DeleteOAuthClientHandler> logger)
 {
     _oauthClientRepository = oauthClientRepository;
     _logger = logger;
 }
예제 #5
0
 public BaseOAuthClientHandler(
     IOAuthClientRepository oAuthClientRepository,
     ILogger <BaseOAuthClientHandler> logger)
 {
     OAuthClientRepository = oAuthClientRepository;
     Logger = logger;
 }
 public AddOpenBankingApiClientHandler(
     IOAuthClientRepository oauthClientRepository,
     IJwtParser jwtParser,
     IHttpClientFactory httpClientFactory,
     IOAuthClientValidator oauthClientValidator,
     IOptions <OAuthHostOptions> oauthHostOptions,
     IOptions <OpenIDHostOptions> openidHostOptions) : base(oauthClientRepository, jwtParser, httpClientFactory, oauthClientValidator, oauthHostOptions, openidHostOptions)
 {
 }
예제 #7
0
 public UpdateOAuthClientHandler(
     IOAuthClientRepository oauthClientRepository,
     IOAuthScopeRepository oauthScopeRepository,
     ILogger <UpdateOAuthClientHandler> logger)
 {
     _oauthClientRepository = oauthClientRepository;
     _oauthScopeRepository  = oauthScopeRepository;
     _logger = logger;
 }
예제 #8
0
 public BaseAuthenticateController(
     IOptions <OpenIDHostOptions> options,
     IDataProtectionProvider dataProtectionProvider,
     IOAuthClientRepository oauthClientRepository,
     IAmrHelper amrHelper,
     IOAuthUserRepository oauthUserCommandRepository)
 {
     _options                    = options.Value;
     _dataProtector              = dataProtectionProvider.CreateProtector("Authorization");
     _oauthClientRepository      = oauthClientRepository;
     _amrHelper                  = amrHelper;
     _oauthUserCommandRepository = oauthUserCommandRepository;
 }
예제 #9
0
 public AddOAuthClientHandler(
     IOAuthClientRepository oAuthClientRepository,
     IJwtParser jwtParser,
     IHttpClientFactory httpClientFactory,
     IOAuthClientValidator oauthClientValidator,
     IOptions <OAuthHostOptions> oauthHostOptions)
 {
     OAuthClientRepository = oAuthClientRepository;
     _jwtParser            = jwtParser;
     _httpClientFactory    = httpClientFactory;
     _oauthClientValidator = oauthClientValidator;
     OauthHostOptions      = oauthHostOptions.Value;
 }
예제 #10
0
 public JwtParser(
     IJweGenerator jweGenerator,
     IJwsGenerator jwsGenerator,
     IHttpClientFactory httpClientFactory,
     IOAuthClientRepository oauthClientRepository,
     IJsonWebKeyRepository jsonWebKeyRepository)
 {
     _jweGenerator          = jweGenerator;
     _jwsGenerator          = jwsGenerator;
     _httpClientFactory     = httpClientFactory;
     _oauthClientRepository = oauthClientRepository;
     _jsonWebKeyRepository  = jsonWebKeyRepository;
 }
 public AuthorizationRequestHandler(IEnumerable <IResponseTypeHandler> responseTypeHandlers,
                                    IEnumerable <IAuthorizationRequestValidator> authorizationRequestValidators,
                                    IEnumerable <ITokenProfile> tokenProfiles,
                                    IAuthorizationRequestEnricher authorizationRequestEnricher,
                                    IOAuthClientRepository oauthClientRepository,
                                    IOAuthUserRepository oauthUserRepository)
 {
     _responseTypeHandlers           = responseTypeHandlers;
     _authorizationRequestValidators = authorizationRequestValidators;
     _tokenProfiles = tokenProfiles;
     _authorizationRequestEnricher = authorizationRequestEnricher;
     _oauthClientRepository        = oauthClientRepository;
     _oauthUserRepository          = oauthUserRepository;
 }
예제 #12
0
 public AuthenticateController(
     IOptions <OpenIDHostOptions> options,
     IPasswordAuthService passwordAuthService,
     ITranslationHelper translationHelper,
     IAuthenticationSchemeProvider authenticationSchemeProvider,
     IDataProtectionProvider dataProtectionProvider,
     IAmrHelper amrHelper,
     IOAuthClientRepository oauthClientRepository,
     IOAuthUserRepository oauthUserCommandRepository) : base(options, dataProtectionProvider, oauthClientRepository, amrHelper, oauthUserCommandRepository)
 {
     _passwordAuthService          = passwordAuthService;
     _translationHelper            = translationHelper;
     _authenticationSchemeProvider = authenticationSchemeProvider;
 }
 public OpenIDAuthorizationRequestHandler(
     IEnumerable <IResponseTypeHandler> responseTypeHandlers,
     IEnumerable <IAuthorizationRequestValidator> authorizationRequestValidators,
     IEnumerable <ITokenProfile> tokenProfiles,
     IAuthorizationRequestEnricher authorizationRequestEnricher,
     IOAuthClientRepository oauthClientRepository,
     IOAuthUserRepository oauthUserRepository) : base(
         responseTypeHandlers,
         authorizationRequestValidators,
         tokenProfiles,
         authorizationRequestEnricher,
         oauthClientRepository,
         oauthUserRepository)
 {
 }
예제 #14
0
 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;
 }
예제 #15
0
 public ExternalAuthenticateController(
     IOptions <OpenIDHostOptions> options,
     IDataProtectionProvider dataProtectionProvider,
     IOAuthClientRepository oauthClientRepository,
     IAmrHelper amrHelper,
     IOAuthUserRepository oauthUserRepository,
     ILogger <ExternalAuthenticateController> logger,
     IAuthenticationSchemeProvider authenticationSchemeProvider,
     IServiceProvider serviceProvider,
     IBusControl busControl) : base(options, dataProtectionProvider, oauthClientRepository, amrHelper, oauthUserRepository)
 {
     _logger = logger;
     _authenticationSchemeProvider = authenticationSchemeProvider;
     _serviceProvider = serviceProvider;
     _busControl      = busControl;
 }
 public UserInfoController(
     IJwtParser jwtParser,
     IJwtBuilder jwtBuilder,
     IOAuthScopeRepository oauthScopeRepository,
     IOAuthUserRepository oauthUserRepository,
     IOAuthClientRepository oauthClientRepository,
     IEnumerable <IClaimsSource> claimsSources,
     ITokenRepository tokenRepository,
     IClaimsJwsPayloadEnricher claimsJwsPayloadEnricher,
     ILogger <UserInfoController> logger)
 {
     _jwtParser                = jwtParser;
     _jwtBuilder               = jwtBuilder;
     _oauthScopeRepository     = oauthScopeRepository;
     _oauthUserRepository      = oauthUserRepository;
     _oauthClientRepository    = oauthClientRepository;
     _claimsSources            = claimsSources;
     _tokenRepository          = tokenRepository;
     _claimsJwsPayloadEnricher = claimsJwsPayloadEnricher;
     _logger = logger;
 }
 public UpdateOpenIdClientHandler(IOAuthClientValidator oauthClientValidator, IOAuthClientRepository oauthClientRepository, ILogger <UpdateOAuthClientHandler> logger) : base(oauthClientValidator, oauthClientRepository, logger)
 {
 }
 public GetOAuthClientHandler(IOAuthClientRepository oauthClientRepository)
 {
     _oauthClientRepository = oauthClientRepository;
 }
예제 #19
0
 public GetOAuthClientHandler(IOAuthClientRepository oauthClientRepository, ILogger <BaseOAuthClientHandler> logger) : base(oauthClientRepository, logger)
 {
 }
 public GetOpenIdClientHandler(IOAuthClientRepository oauthClientRepository) : base(oauthClientRepository)
 {
 }
 public SearchOpenIdClientsHandler(IOAuthClientRepository oauthClientRepository) : base(oauthClientRepository)
 {
 }
 public AddOpenIdClientHandler(IOAuthClientRepository oauthClientRepository, IOptions <OAuthHostOptions> options)
 {
     _oauthClientRepository = oauthClientRepository;
     _options = options.Value;
 }
 public SearchOauthClientsHandler(IOAuthClientRepository oauthClientRepository)
 {
     _oauthClientRepository = oauthClientRepository;
 }
예제 #24
0
 public UpdateOpenIdClientHandler(
     IOAuthClientRepository oauthClientRepository,
     IOAuthScopeRepository oauthScopeRepository,
     ILogger <UpdateOpenIdClientHandler> logger) : base(oauthClientRepository, oauthScopeRepository, logger)
 {
 }