Skip to content

Commit d83064b

Browse files
Update OAuthHandler.cs (#53762)
1 parent 34b4954 commit d83064b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Security/Authentication/OAuth/src/OAuthHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,11 @@ protected virtual async Task<OAuthTokenResponse> ExchangeCodeAsync(OAuthCodeExch
225225
return response.IsSuccessStatusCode switch
226226
{
227227
true => OAuthTokenResponse.Success(JsonDocument.Parse(body)),
228-
false => PrepareFailedOAuthTokenReponse(response, body)
228+
false => PrepareFailedOAuthTokenResponse(response, body)
229229
};
230230
}
231231

232-
private static OAuthTokenResponse PrepareFailedOAuthTokenReponse(HttpResponseMessage response, string body)
232+
private static OAuthTokenResponse PrepareFailedOAuthTokenResponse(HttpResponseMessage response, string body)
233233
{
234234
var exception = OAuthTokenResponse.GetStandardErrorException(JsonDocument.Parse(body));
235235

0 commit comments

Comments
 (0)