Class ApiTokenRequestModel
- Namespace
- Dynamicweb.Security.Tokens
- Assembly
- Dynamicweb.Core.dll
Class that represents a token request, providing the relevant information needed to issue a token if valid.
public sealed class ApiTokenRequestModel
- Inheritance
-
ApiTokenRequestModel
- Inherited Members
Properties
Description
The description of the token.
public string Description { get; set; }
Property Value
ExpiryDate
The expiration date of the token when it will not be valid any longer.
public DateTime? ExpiryDate { get; set; }
Property Value
Name
The name of the token.
public string Name { get; set; }
Property Value
Prefix
A prefix to the generated token, it is stored together with the hash as a prefix to the hash.
public string Prefix { get; set; }