1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00
Teknik/Utilities/IdentityClientScope.cs

32 lines
913 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.ComponentModel;
2021-06-26 07:30:48 +02:00
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Teknik.Utilities
{
public enum IdentityClientScope
{
2021-06-26 07:30:48 +02:00
[Display(Name = "openid")]
[Description("The user identifier")]
[ReadOnly(true)]
openid,
2021-06-26 07:30:48 +02:00
[Display(Name = "role")]
[Description("The user role")]
role,
2021-06-26 07:30:48 +02:00
[Display(Name = "account-info")]
[Description("A user's account information")]
accountInfo,
2021-06-26 07:30:48 +02:00
[Display(Name = "security-info")]
[Description("A user's security information")]
securityInfo,
2021-06-26 07:30:48 +02:00
[Display(Name = "teknik-api.read")]
[Description("Read access to the Teknik API")]
teknikApiRead,
2021-06-26 07:30:48 +02:00
[Display(Name = "teknik-api.write")]
[Description("Write access to the Teknik API")]
teknikApiWrite,
}
}