DataProtectionTokenProviderOptions.TokenLifespan Property

Definition

Gets or sets the amount of time a generated token remains valid. Defaults to 1 day.

public:
 property TimeSpan TokenLifespan { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan TokenLifespan { get; set; }
member this.TokenLifespan : TimeSpan with get, set
Public Property TokenLifespan As TimeSpan

Property Value

TimeSpan

The amount of time a generated token remains valid.

Applies to