コード例 #1
0
ファイル: JwtProvider.cs プロジェクト: mh2727/leaf
 public JwtProvider(
     IOptions <JwtSigningOptions> signingOpts,
     IOptions <AuthenticationOptions> authOpts,
     IOptions <LeafVersionOptions> versionOpts,
     IFederatedIdentityProvider identityService,
     IFederatedEntitlementProvider entitlementService
     )
 {
     jwtOptions              = signingOpts.Value;
     authenticationOptions   = authOpts.Value;
     versionOptions          = versionOpts.Value;
     this.idProvider         = identityService;
     this.entitlementService = entitlementService;
 }