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