tencent cloud

Feedback

Custom authorization list

Last updated: 2024-06-27 10:53:15
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)

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 avaliable.

7x24 Phone Support