Add Description as well to AuthenticateInfo
(needed by Identity)
This commit is contained in:
parent
097b339f74
commit
36329b07c8
|
|
@ -20,5 +20,10 @@ namespace Microsoft.AspNetCore.Http.Authentication
|
|||
/// The <see cref="AuthenticationProperties"/>.
|
||||
/// </summary>
|
||||
public AuthenticationProperties Properties { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="AuthenticationDescription"/>.
|
||||
/// </summary>
|
||||
public AuthenticationDescription Description { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -92,7 +92,8 @@ namespace Microsoft.AspNetCore.Http.Authentication.Internal
|
|||
return new AuthenticateInfo
|
||||
{
|
||||
Principal = context.Principal,
|
||||
Properties = new AuthenticationProperties(context.Properties)
|
||||
Properties = new AuthenticationProperties(context.Properties),
|
||||
Description = new AuthenticationDescription(context.Description)
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue