import { processAuthorizationCodeOAuth2Response } from "https://deno.land/x/oauth4webapi@v2.4.5/mod.ts";
(OAuth 2.0 without OpenID Connect only) Validates Authorization Code Grant Response instance to
be one coming from the AuthorizationServer.token_endpoint | as.token_endpoint
.
Returns
Promise<OAuth2TokenEndpointResponse | OAuth2Error>
Resolves with an object representing the parsed successful response, or an object representing an OAuth 2.0 protocol style error. Use isOAuth2Error to determine if an OAuth 2.0 error was returned.