Get authentication code.
|scopes||String/Array||N||The scope of auth, there are two types: |
|USER_ID||Authorized to obtain the unique user ID.|
Authorized to send notification to user's notification in app inbox.
|auth_base||Authorized to obtain the unique user ID.|
|auth_user||Authorized to obtain user information.|
auth_base are used to silently obtain user ID, silent authorization does not pop the frame and directly obtains user information. All the other scopes are used for proactive user authorization.
Success Callback Function
The incoming parameter is of the Object type with the following attributes:
|authErrorScopes||Key-value||Y||The scope that failed to grant auth, key is the scope and value is the error|
|authSuccessScopes||Array||Y||The scope that succeed to grant auth|