Table of Contents

Class Token

Namespace
Dynamicweb.Security.Tokens
Assembly
Dynamicweb.Core.dll

Class representing a token.

public class Token
Inheritance
Token
Inherited Members

Properties

CreatedDate

The time when the token was created.

public DateTime CreatedDate { get; set; }

Property Value

DateTime

Description

The description of the token. Made by the user.

public string Description { get; set; }

Property Value

string

DeviceId

The id of the device that the token was requested from.

public string DeviceId { get; set; }

Property Value

string

ExpiryDate

The time when the token will expire.

public DateTime? ExpiryDate { get; set; }

Property Value

DateTime?

Id

The id of the token. This is the autogenerated identity of the underlying data store.

public int Id { get; set; }

Property Value

int

Name

The name of the token

public string Name { get; set; }

Property Value

string

TokenHash

The hashed token value.

public string TokenHash { get; set; }

Property Value

string

UserId

The id of the User that the token belongs to.

public int UserId { get; set; }

Property Value

int
To top