Esempio n. 1
0
 public AddOAuthScopeHandler(
     IOAuthScopeRepository oauthScopeRepository,
     ILogger <AddOAuthScopeHandler> logger)
 {
     _oauthScopeRepository = oauthScopeRepository;
     _logger = logger;
 }
Esempio n. 2
0
 public UpdateOAuthScopeHandler(
     IOAuthScopeRepository oauthScopeRepository,
     ILogger <UpdateOAuthScopeHandler> logger)
 {
     _oauthScopeRepository = oauthScopeRepository;
     _logger = logger;
 }
 public UMAConfigurationRequestHandler(
     IOAuthScopeRepository oauthScopeRepository,
     IEnumerable <IResponseTypeHandler> authorizationGrantTypeHandlers,
     IEnumerable <IOAuthResponseMode> oauthResponseModes,
     IEnumerable <IGrantTypeHandler> grantTypeHandlers,
     IEnumerable <IOAuthClientAuthenticationHandler> oauthClientAuthenticationHandlers,
     IEnumerable <ISignHandler> signHandlers,
     IOAuthWorkflowConverter oauthWorkflowConverter,
     IOptions <OAuthHostOptions> options)
     : base(oauthScopeRepository, authorizationGrantTypeHandlers, oauthResponseModes, grantTypeHandlers, oauthClientAuthenticationHandlers, signHandlers, oauthWorkflowConverter, options)
 {
 }
Esempio n. 4
0
 public OpenIdClientValidator(
     IEnumerable <ISubjectTypeBuilder> subjectTypeBuilders,
     IEnumerable <IResponseTypeHandler> responseTypeHandlers,
     IEnumerable <IGrantTypeHandler> grantTypeHandlers,
     IEnumerable <IOAuthClientAuthenticationHandler> oAuthClientAuthenticationHandlers,
     IEnumerable <ISignHandler> signHandlers,
     IEnumerable <ICEKHandler> cekHandlers,
     IEnumerable <IEncHandler> encHandlers,
     IOAuthScopeRepository oauthScopeRepository,
     IOptions <OpenIDHostOptions> openIDHostOptions) : base(responseTypeHandlers, grantTypeHandlers, oAuthClientAuthenticationHandlers, signHandlers, cekHandlers, encHandlers, oauthScopeRepository)
 {
     _subjectTypeBuilders = subjectTypeBuilders;
     _openIDHostOptions   = openIDHostOptions.Value;
 }
 public ConfigurationController(
     IConfigurationRequestHandler configurationRequestHandler,
     IEnumerable <ICEKHandler> cekHandlers,
     IEnumerable <IEncHandler> encHandlers,
     IEnumerable <ISignHandler> signHandlers,
     IEnumerable <ISubjectTypeBuilder> subjectTypeBuilders,
     IOAuthScopeRepository oauthScopeRepository,
     IAuthenticationContextClassReferenceRepository authenticationContextClassReferenceRepository) : base(configurationRequestHandler)
 {
     _cekHandlers          = cekHandlers;
     _encHandlers          = encHandlers;
     _signHandlers         = signHandlers;
     _subjectTypeBuilders  = subjectTypeBuilders;
     _oauthScopeRepository = oauthScopeRepository;
     _authenticationContextClassReferenceRepository = authenticationContextClassReferenceRepository;
 }
 public OAuthClientValidator(
     IEnumerable <IResponseTypeHandler> responseTypeHandlers,
     IEnumerable <IGrantTypeHandler> grantTypeHandlers,
     IEnumerable <IOAuthClientAuthenticationHandler> oAuthClientAuthenticationHandlers,
     IEnumerable <ISignHandler> signHandlers,
     IEnumerable <ICEKHandler> cekHandlers,
     IEnumerable <IEncHandler> encHandlers,
     IOAuthScopeRepository oauthScopeQueryRepository)
 {
     _responseTypeHandlers = responseTypeHandlers;
     _grantTypeHandlers    = grantTypeHandlers;
     _oauthClientAuthenticationHandlers = oAuthClientAuthenticationHandlers;
     _signHandlers         = signHandlers;
     _cekHandlers          = cekHandlers;
     _encHandlers          = encHandlers;
     _oauthScopeRepository = oauthScopeQueryRepository;
 }
Esempio n. 7
0
 public ConsentsController(
     IOAuthUserRepository oauthUserRepository,
     IOAuthClientRepository oauthClientRepository,
     IOAuthScopeRepository oauthScopeRepository,
     IUserConsentFetcher userConsentFetcher,
     IDataProtectionProvider dataProtectionProvider,
     IResponseModeHandler responseModeHandler,
     ITranslationHelper translationHelper,
     IExtractRequestHelper extractRequestHelper)
 {
     _oauthUserRepository   = oauthUserRepository;
     _oauthClientRepository = oauthClientRepository;
     _oauthScopeRepository  = oauthScopeRepository;
     _userConsentFetcher    = userConsentFetcher;
     _responseModeHandler   = responseModeHandler;
     _dataProtector         = dataProtectionProvider.CreateProtector("Authorization");
     _translationHelper     = translationHelper;
     _extractRequestHelper  = extractRequestHelper;
 }
Esempio n. 8
0
 public ConfigurationRequestHandler(
     IOAuthScopeRepository oauthScopeRepository,
     IEnumerable <IResponseTypeHandler> authorizationGrantTypeHandlers,
     IEnumerable <IOAuthResponseMode> oauthResponseModes,
     IEnumerable <IGrantTypeHandler> grantTypeHandlers,
     IEnumerable <IOAuthClientAuthenticationHandler> oauthClientAuthenticationHandlers,
     IEnumerable <ISignHandler> signHandlers,
     IOAuthWorkflowConverter oauthWorkflowConverter,
     IOptions <OAuthHostOptions> options)
 {
     _oauthScopeRepository           = oauthScopeRepository;
     _authorizationGrantTypeHandlers = authorizationGrantTypeHandlers;
     _oauthResponseModes             = oauthResponseModes;
     _grantTypeHandlers = grantTypeHandlers;
     _oauthClientAuthenticationHandlers = oauthClientAuthenticationHandlers;
     _signHandlers           = signHandlers;
     _oauthWorkflowConverter = oauthWorkflowConverter;
     _options = options.Value;
 }
 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;
 }
Esempio n. 10
0
 public ManagementController(
     IOAuthScopeRepository oauthScopeRepository,
     IGetOAuthClientHandler getOAuthClientHandler,
     ISearchOauthClientsHandler searchOauthClientsHandler,
     IUpdateOAuthClientHandler updateOAuthClientHandler,
     IAddOAuthClientHandler addOAuthClientHandler,
     IDeleteOAuthClientHandler deleteOAuthClientHandler,
     ISearchOAuthScopesHandler searchOAuthScopesHandler,
     IUpdateOAuthScopeHandler updateOAuthScopeHandler,
     IAddOAuthScopeHandler addOAuthScopeHandler,
     IDeleteOAuthScopeHandler deleteOAuthScopeHandler,
     IUpdateUserBySCIMIdHandler updateUserBySCIMIdHandler,
     IGetUserBySCIMIdHandler getUserBySCIMIdHandler,
     IUpdateUserPasswordHandler updateUserPasswordHandler,
     IAddOAuthUserBySCIMIdHandler addOAuthUserBySCIMIdHandler,
     IGetOTPCodeHandler getOTPCodeHandler,
     IGetOTPQRCodeHandler getOTPQRCodeHandler,
     IOptions <OAuthHostOptions> options)
 {
     _oauthScopeRepository        = oauthScopeRepository;
     _getOAuthClientHandler       = getOAuthClientHandler;
     _searchOauthClientsHandler   = searchOauthClientsHandler;
     _updateOAuthClientHandler    = updateOAuthClientHandler;
     _addOAuthClientHandler       = addOAuthClientHandler;
     _deleteOAuthClientHandler    = deleteOAuthClientHandler;
     _searchOAuthScopesHandler    = searchOAuthScopesHandler;
     _updateOAuthScopeHandler     = updateOAuthScopeHandler;
     _addOAuthScopeHandler        = addOAuthScopeHandler;
     _deleteOAuthScopeHandler     = deleteOAuthScopeHandler;
     _updateUserBySCIMIdHandler   = updateUserBySCIMIdHandler;
     _getUserBySCIMIdHandler      = getUserBySCIMIdHandler;
     _updateUserPasswordHandler   = updateUserPasswordHandler;
     _addOAuthUserBySCIMIdHandler = addOAuthUserBySCIMIdHandler;
     _getOTPCodeHandler           = getOTPCodeHandler;
     _getOTPQRCodeHandler         = getOTPQRCodeHandler;
     _options = options.Value;
 }
Esempio n. 11
0
 public UpdateOpenIdClientHandler(
     IOAuthClientRepository oauthClientRepository,
     IOAuthScopeRepository oauthScopeRepository,
     ILogger <UpdateOpenIdClientHandler> logger) : base(oauthClientRepository, oauthScopeRepository, logger)
 {
 }
 public SearchOAuthScopesHandler(IOAuthScopeRepository oauthScopeRepository)
 {
     _oauthScopeRepository = oauthScopeRepository;
 }