tencent cloud

Feedback

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)

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