示例#1
0
 public KoreClaimsService(IKoreApiAuthService koreAuthService, IOptions <KoreOptions> koreOptions)
 {
     _koreAuthService = koreAuthService;
     _koreOptions     = koreOptions.Value;
 }
 public KoreApiGameService(IOptions <KoreOptions> koreOptions, IHttpClientFactory clientFactory)
 {
     _koreOptions       = koreOptions.Value;
     _httpClientFactory = clientFactory;
 }
示例#3
0
 public KoreTokenFilter(IKoreApiAuthService koreAuthService, IKoreClaimsService koreClaims, IOptions <KoreOptions> koreOptions)
 {
     _koreApiAuthService = koreAuthService;
     _koreOptions        = koreOptions.Value;
     _koreClaims         = koreClaims;
 }