using IdentityModel; using IdentityServer4.Models; using System.Collections.Generic; using System.Security.Claims; namespace Bit.Core.IdentityServer { public class ApiResources { public static IEnumerable GetApiResources() { return new List { new ApiResource("api", new string[] { JwtClaimTypes.Name, JwtClaimTypes.Email, JwtClaimTypes.EmailVerified, "sstamp", // security stamp "premium", "device", "orgowner", "orgadmin", "orguser" }) }; } } }