maliming
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
docs/en/Modules/OpenIddict.md
|
|
|
@ -421,7 +421,7 @@ Update `PreConfigureServices` method of AuthServerModule (or HttpApiHostModule i |
|
|
|
```csharp |
|
|
|
PreConfigure<OpenIddictServerBuilder>(builder => |
|
|
|
{ |
|
|
|
builder.SetAuthorizationCodeLifetime(TimeSpan.FromMinutes(30)); |
|
|
|
builder.SetAuthorizationCodeLifetime(TimeSpan.FromMinutes(30)); |
|
|
|
builder.SetAccessTokenLifetime(TimeSpan.FromMinutes(30)); |
|
|
|
builder.SetIdentityTokenLifetime(TimeSpan.FromMinutes(30)); |
|
|
|
builder.SetRefreshTokenLifetime(TimeSpan.FromDays(14)); |
|
|
|
|