Skip to Content

exchangeAuthorizationCode()

exchangeAuthorizationCode(_request): Promise<Response<{ api?: { links?: Record<string, { href: string; }>; redactions?: object[]; }; client: | { device: string | null; id: "modem-cli"; } | null; createdAt: string; expiresAt: string | null; id: string; lastUsedAt: string | null; modes: string[]; name: string; object: "admin_api_key"; owner: { email: string | null; id: string; name: string | null; }; permissions: string[]; previousSecretExpiresAt: string | null; projects: string[] | "all"; rotatedAt: string | null; secret: string; secretPreview: string; }>>;

Parameters

_request

code

string = ...

code_verifier

string = ...

redirect_uri

string = LoopbackRedirectUriSchema

Exactly the address the authorization started with.

Last updated on