Property Lifetime
Lifetime
Gets or sets how long a sign-in code can be redeemed after it is created. Must be positive. Default is 10 minutes.
Declaration
public TimeSpan Lifetime { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Remarks
The lifetime covers the time between the client receiving the code and redeeming it, such as while the client asks the user whether to stay signed in. The sign-in codes of device links are valid for at least as long as the link can be polled (see PollAsync(string, string, CancellationToken)).