public RegistrationController(
     IAddOAuthClientHandler registerRequestHandler,
     IGetOAuthClientHandler getOAuthClientHandler,
     IUpdateOAuthClientHandler updateOAuthClientHandler,
     IDeleteOAuthClientHandler deleteOAuthClientHandler)
 {
     _addOAuthClientHandler    = registerRequestHandler;
     _getOAuthClientHandler    = getOAuthClientHandler;
     _updateOAuthClientHandler = updateOAuthClientHandler;
     _deleteOAuthClientHandler = deleteOAuthClientHandler;
 }
Ejemplo n.º 2
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;
 }