ExchangeToken exchanges an authorization code for access and refresh tokens. Uses the OAuth 2.0 Authorization Code + PKCE flow.
Documentation Index
Fetch the complete documentation index at: https://docs.sdk.anghami.com/llms.txt
Use this file to discover all available pages before exploring further.
ExchangeTokenRequest is the request message for exchanging an authorization code for an access token using the OAuth 2.0 Authorization Code + PKCE flow.
The authorization code received from the authorization server callback.
The redirect URI that was used in the authorization request. Must match the URI registered for the client application.
The client application identifier.
The PKCE code verifier corresponding to the code_challenge sent in the authorization request. Must be 43-128 characters per RFC 7636.
43 - 128Successful response
ExchangeTokenResponse is the response message containing the issued tokens.
TokenInfo contains the OAuth 2.0 token response fields. Returned by ExchangeToken and RefreshToken RPCs.