Browse Source

Update the OpenIddictAuthorizationManager.CreateAsync() overload that doesn't take a descriptor to automatically populate the creation date

pull/1273/head
Kévin Chalet 5 years ago
parent
commit
f455876002
  1. 1
      src/OpenIddict.Core/Managers/OpenIddictAuthorizationManager.cs

1
src/OpenIddict.Core/Managers/OpenIddictAuthorizationManager.cs

@ -223,6 +223,7 @@ namespace OpenIddict.Core
var descriptor = new OpenIddictAuthorizationDescriptor
{
ApplicationId = client,
CreationDate = DateTimeOffset.UtcNow,
Principal = principal,
Status = Statuses.Valid,
Subject = subject,

Loading…
Cancel
Save