Skip to Content
Anuma SDKExpoInternalFunctionsexchangeNotionCode

exchangeNotionCode

exchangeNotionCode(params: NotionExchangeCodeParams): Promise<NotionTokenResponse>

Defined in: src/lib/auth/notion-primitives.ts:307 

Exchange an authorization code for tokens.

This is a public client request — no client_secret is sent. The code_verifier proves possession of the original challenge.

Parameters

ParameterType

params

NotionExchangeCodeParams

Returns

Promise<NotionTokenResponse>

Last updated on