Class KeyToken
Model class for the API Key
public class KeyToken
- Inheritance
-
KeyToken
- Inherited Members
- Extension Methods
Constructors
KeyToken()
public KeyToken()
Properties
Description
Description
public string? Description { get; set; }
Property Value
Roles
Roles
public List<string>? Roles { get; set; }
Property Value
TokenName
(Unique) name of the token
public string? TokenName { get; set; }
Property Value
ValidFrom
Valid from (inclusive)
public DateTime? ValidFrom { get; set; }
Property Value
ValidUntil
Valid until (exclusive)
public DateTime? ValidUntil { get; set; }
Property Value
ValidityState
Validity State
public string? ValidityState { get; set; }
Property Value
Methods
FromEntity(ApiKey)
Returns an API Key Model from the entity
public static KeyToken FromEntity(ApiKey ent)
Parameters
ent
ApiKey