The authorization-code fields and optional transport settings; a MalAuthorizationCodeRequest.
The MalTokenResponse for the authenticated session.
AniLinkApiError when MAL rejects the grant, or AniLinkNetworkError on timeout, cancellation, or network failure; both carry sanitized token-request details.
getMalAccessToken exchanges a MAL authorization code for an access token through PKCE.
It completes the flow started by buildMalAuthorizationUrl using the MalAuthorizationCodeRequest fields and returns a MalTokenResponse consumed by
MalCredentialsandbuildMyAnimeListApi. Transport is shared with RequestOptions.