Browse Source

Update OpenIddictServerOptions.AuthorizationCodeLifetime's documentation to include the default lifetime

pull/837/head
Kévin Chalet 7 years ago
parent
commit
f44b4cc82b
  1. 2
      src/OpenIddict.Server/OpenIddictServerOptions.cs

2
src/OpenIddict.Server/OpenIddictServerOptions.cs

@ -105,7 +105,7 @@ namespace OpenIddict.Server
};
/// <summary>
/// Gets or sets the period of time the authorization codes remain valid after being issued.
/// Gets or sets the period of time authorization codes remain valid after being issued. The default value is 5 minutes.
/// While not recommended, this property can be set to <c>null</c> to issue codes that never expire.
/// </summary>
public TimeSpan? AuthorizationCodeLifetime { get; set; } = TimeSpan.FromMinutes(5);

Loading…
Cancel
Save