Table of Contents

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

string

ExpiryDate

The expiration date of the token when it will not be valid any longer.

public DateTime? ExpiryDate { get; set; }

Property Value

DateTime?

Name

The name of the token.

public string Name { get; set; }

Property Value

string

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; }

Property Value

string
To top