Skip to content

Commit 710dbfb

Browse files
Add missing attribute
Add `[NotNull]` to `ZohoAuthenticationHandler.ExchangeCodeAsync()` to fix `Publicly_Visible_Parameters_Have_Null_Annotations`.
1 parent a1583b1 commit 710dbfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AspNet.Security.OAuth.Zoho/ZohoAuthenticationHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected override async Task<AuthenticationTicket> CreateTicketAsync(
5353
return new AuthenticationTicket(context.Principal!, context.Properties, Scheme.Name);
5454
}
5555

56-
protected override async Task<OAuthTokenResponse> ExchangeCodeAsync(OAuthCodeExchangeContext context)
56+
protected override async Task<OAuthTokenResponse> ExchangeCodeAsync([NotNull] OAuthCodeExchangeContext context)
5757
{
5858
var nameValueCollection = new Dictionary<string, string?>
5959
{

0 commit comments

Comments
 (0)