import { type AuthorizationCodeTokenOptions } from "https://deno.land/x/oauth2_client@v1.0.2/src/authorization_code_grant.ts";
Properties
The state parameter expected to be returned by the authorization response.
Usually you'd store the state you sent with the authorization request in the
user's session so you can pass it here.
If it could be one of many states or you want to run some custom verification
logic, use the stateValidator
parameter instead.
The state validator used to verify that the received state is valid.
The option object's state value is ignored when a stateValidator is passed.
When using PKCE, the code verifier that you got by calling getAuthorizationUri
optional
requestOptions: RequestOptionsRequest options used when making the access token request.