Owneat Technical Guide main Help

Class Jwt

Namespace: Identity.API.Settings
Assembly: Identity.API.dll

JWT file that defines the configuration gathered from appsettings.

public class Jwt

Inheritance

object ← Jwt

Inherited Members

object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)

Fields

SectionName

Name of the app settings json file section.

public const string SectionName = "Jwt"

Field Value

string

Properties

Audiences

List of project urls that are the targets of the jwt.

public List<string>? Audiences { get; set; }

Property Value

List < string \>?

Issuer

Name of the issuer of the jwt token.

public string? Issuer { get; set; }

Property Value

string?

TokenExpiryInHours

Number of hours that the token will remain valid after issuance.

public int TokenExpiryInHours { get; set; }

Property Value

int

ValidateIssuerSigningKey

Boolean to signify if the signature is verified on authentication try.

public bool ValidateIssuerSigningKey { get; set; }

Property Value

bool

Last modified: 21 May 2024