User
Overview about User Module
Provides functions that support Merchant's application for accessing user information
List of supported SDK functions
Function | Description |
---|---|
User Authorization | User authorization flow |
getOauthV1Code | Obtain user authorization code |
getPublicProfile | Get public user profile(name, avatar, user id). Apply for merchant that just want to get the basic user information without setting up a server in the User authorization flow |
generateCodeVerifier | generates a high-entropy cryptographic random string used as the code verifier in the PKCE (Proof Key for Code Exchange) flow for OAuth 2.0 authorization. Apply for merchant that just want to get the basic user information without setting up a server in the User authorization flow |
generateCodeChallenge | generates a code challenge for PKCE (Proof Key for Code Exchange) based OAuth 2.0 authorization flows. This is used to securely exchange authorization codes in OAuth 2.0 flows. |