Пример #1
0
 internal GamesResource() : base(
         Application.Scopes.GamesApi.Name,
         Application.Scopes.GamesApi.DisplayName,
         IdentityResources.Roles.UserClaims.Union(IdentityResources.Permissions.UserClaims))
 {
     ApiSecrets.Add(new Secret("secret".Sha256()));
 }
Пример #2
0
 internal CashierWebAggregatorResource() : base(
         Application.Scopes.CashierWebAggregator.Name,
         Application.Scopes.CashierWebAggregator.DisplayName,
         IdentityResources.Roles.UserClaims.Union(IdentityResources.Permissions.UserClaims))
 {
     ApiSecrets.Add(new Secret("secret".Sha256()));
 }