AniLink - v2.0.0
    Preparing search index...

    Interface MalAuthorizationCodeRequest

    MalAuthorizationCodeRequest is the input for getMalAccessToken when exchanging a MAL authorization code with PKCE.

    It carries the client identity and PKCE verifier initiated by buildMalAuthorizationUrl, plus optional RequestOptions for the token call.

    interface MalAuthorizationCodeRequest {
        clientId: string;
        clientSecret?: string;
        code: string;
        codeVerifier: string;
        options?: RequestOptions;
    }
    Index
    clientId: string

    The MAL application client ID.

    clientSecret?: string

    An optional client secret for applications that use one.

    code: string

    The authorization code returned by the redirect.

    codeVerifier: string

    The original PKCE code verifier.

    options?: RequestOptions

    Shared transport settings for the token request.