The MAL application client ID from MalAuthorizationCodeRequest.clientId.
The PKCE challenge for the login attempt; under MAL's plain method this is the verifier itself and must contain 43 to 128 RFC 7636 unreserved characters.
Optionalstate: string
Optional opaque CSRF state to validate on the redirect.
The encoded authorization URL for the MAL OAuth flow.
buildMalAuthorizationUrl is the PKCE helper that builds the MyAnimeList OAuth2 authorization URL for getMalAccessToken.
It encodes the client identity and PKCE challenge from MalAuthorizationCodeRequest and returns the URL to open in a browser. MAL's authorization server currently supports only the
plainPKCE method. Validate thestateon redirect before exchanging the code via getMalAccessToken.