Very simple question, i would just like to know what the default values are set in openiddict 3.0+
Tokens are
Thanks in advance.
You find the default lifetimes of the different tokens in the source code here:
https://github.com/openiddict/openiddict-core/blob/dev/src/OpenIddict.Server/OpenIddictServerOptions.cs
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);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With