Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| success | Function | No | Callback on success |
| fail | Function | No | Callback on failure |
| complete | Function | No | Callback that always executes |
Success Callback Parameters
| Property | Type | Description |
|---|---|---|
| authSetting | Object | Map of permission scope keys to their granted status (true/false) |
Code Example
Related APIs
my.openSetting
Open the Mini App settings page
my.showAuthGuide
Guide users to grant permissions