Reputation: 9828
Very simple question, i would just like to know what the default values are set in openiddict 3.0+
Tokens are
Thanks in advance.
Upvotes: 4
Views: 3562
Reputation: 19941
You find the default lifetimes of the different tokens in the source code here:
The most important lifetimes are:
public TimeSpan? AuthorizationCodeLifetime { get; set; } = TimeSpan.FromMinutes(5);
public TimeSpan? AccessTokenLifetime { get; set; } = TimeSpan.FromHours(1);
public TimeSpan? IdentityTokenLifetime { get; set; } = TimeSpan.FromMinutes(20);
public TimeSpan? RefreshTokenLifetime { get; set; } = TimeSpan.FromDays(14);
public TimeSpan? UserCodeLifetime { get; set; } = TimeSpan.FromMinutes(10);
Upvotes: 17