sud.authorize
JS
sud.authorize(Object object)Initiates an authorization request to the user.
Parameters
- Object object: Input parameters; see the table below for the specific properties.
Properties of object:
| Property | Value Type | Required | Description |
|---|---|---|---|
| scope | string | Yes | The scope for which permission is requested; refer to the channel's documentation on scope for details |
| success | function | No | Callback function for a successful API call |
| fail | function | No | Callback function for a failed API call |
| complete | function | No | Callback function for API call completion |
