Skip to content

Commit

Permalink
Add nullable annotation to ResultContext<TOptions>.Result (#55948)
Browse files Browse the repository at this point in the history
  • Loading branch information
joegoldman2 authored Jun 1, 2024
1 parent ca1f641 commit 83573c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public AuthenticationProperties Properties
/// <summary>
/// Gets the <see cref="AuthenticateResult"/> result.
/// </summary>
public AuthenticateResult Result { get; private set; } = default!;
public AuthenticateResult? Result { get; private set; }

/// <summary>
/// Calls success creating a ticket with the <see cref="Principal"/> and <see cref="Properties"/>.
Expand Down
2 changes: 2 additions & 0 deletions src/Security/Authentication/Core/src/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#nullable enable
*REMOVED*Microsoft.AspNetCore.Authentication.ResultContext<TOptions>.Result.get -> Microsoft.AspNetCore.Authentication.AuthenticateResult!
Microsoft.AspNetCore.Authentication.ResultContext<TOptions>.Result.get -> Microsoft.AspNetCore.Authentication.AuthenticateResult?

0 comments on commit 83573c7

Please sign in to comment.