tencent cloud

All product documents
Tencent Cloud Super App as a Service
Custom Authorization List
Last updated: 2024-11-21 17:31:55
Custom Authorization List
Last updated: 2024-11-21 17:31:55
To get the authorization list, use the TmfMiniSDK as shown below: 
/**
 * Get the mini program authorization list
 * @param appId
 * @param appVerType Mini program version type
 * @
 */
public static List<MiniAuthState> getAuthStateList(String appId, int appVerType)
 
/**
 * Set the authorization status
 * @param appId
 * @param appVerType Mini program version type
 * @param scopeName Permission name
 * @param grant Whether to authorize
 */
public static void setAuthState(String appId, int appVerType, String scopeName, boolean grant)

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support