Skip to Content
Anuma SDKExpoInternalFunctionsgenerateNotionPKCE

generateNotionPKCE

generateNotionPKCE(): Promise<NotionPKCEChallenge>

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

Generate a fresh PKCE challenge (code verifier + code challenge + state).

The caller is responsible for storing the codeVerifier securely (e.g. in expo-secure-store) so it can be presented during token exchange.

Returns

Promise<NotionPKCEChallenge>

Last updated on