Skip to content

Commit

Permalink
Add missing attribute
Browse files Browse the repository at this point in the history
Add `[NotNull]` to `ZohoAuthenticationHandler.ExchangeCodeAsync()` to fix `Publicly_Visible_Parameters_Have_Null_Annotations`.
  • Loading branch information
martincostello committed Sep 14, 2024
1 parent a1583b1 commit 710dbfb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected override async Task<AuthenticationTicket> CreateTicketAsync(
return new AuthenticationTicket(context.Principal!, context.Properties, Scheme.Name);
}

protected override async Task<OAuthTokenResponse> ExchangeCodeAsync(OAuthCodeExchangeContext context)
protected override async Task<OAuthTokenResponse> ExchangeCodeAsync([NotNull] OAuthCodeExchangeContext context)
{
var nameValueCollection = new Dictionary<string, string?>
{
Expand Down

0 comments on commit 710dbfb

Please sign in to comment.