Skip to content

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:

PropertyValue TypeRequiredDescription
scopestringYesThe scope for which permission is requested; refer to the channel's documentation on scope for details
successfunctionNoCallback function for a successful API call
failfunctionNoCallback function for a failed API call
completefunctionNoCallback function for API call completion