â–¸ authorize(scope): Promise<{}>
description Request user's authorization. Once called a dialog will be promoted to ask for
access to user's data. If users have granted the authorization before, the dialog will not be shown
and return success immediately.
example
Code
Parameters
| Name | Type |
|---|---|
scope | AuthOptions |
Returns
Promise<{}>
AuthOptions
Ƭ AuthOptions: Object
Type declaration
| Name | Type | Description |
|---|---|---|
scope | string | The scope of authorization requested. e.g scope.userLocation |
Was this page helpful?
Last modified on