public AuthorizeService(
     IOptions <JwtOptions> jwtOptions,
     IToolService toolService,
     IAuthorizeCacheService authorizeCacheService,
     IUserService userService,
     OAuthGithubService githubService
     )
 {
     _jwtOptions            = jwtOptions.Value;
     _toolService           = toolService;
     _authorizeCacheService = authorizeCacheService;
     _userService           = userService;
     _githubService         = githubService;
 }
Exemple #2
0
 public AuthorizeService(IOptions <JwtOptions> jwtOption,
                         IToolService toolService,
                         IAuthorizeCacheService authorizeCacheService,
                         IUserService userService,
                         OAuthGithubService githubService,
                         OAuthGiteeService giteeService,
                         OAuthAlipayService alipayService,
                         OAuthDingtalkService dingtalkService,
                         OAuthMicrosoftService microsoftService,
                         OAuthWeiboService weiboService,
                         OAuthQQService qqService)
 {
     _jwtOption             = jwtOption.Value;
     _toolService           = toolService;
     _authorizeCacheService = authorizeCacheService;
     _userService           = userService;
     _githubService         = githubService;
     _giteeService          = giteeService;
     _alipayService         = alipayService;
     _dingtalkService       = dingtalkService;
     _microsoftService      = microsoftService;
     _weiboService          = weiboService;
     _qqService             = qqService;
 }