- CSDKUserAuth
A global object that lets you log users in and out with their Adobe ID.
- loginSuccessCallback :
function
Called if the user login was successful.
- logoutSuccessCallback :
function
Called if the user logout was successful. No arguments are returned.
- failureCallback :
function
Called if the user login or logout fails.
- UserObject :
Object
A JSON object containing user data.
A global object that lets you log users in and out with their Adobe ID.
Kind: global variable
Launches the User Auth UI component so a user can log in with their Adobe ID.
Kind: static method of CSDKUserAuth
Param | Type | Description |
---|---|---|
loginSuccessCallback | loginSuccessCallback |
See type definition. |
failureCallback | failureCallback |
See type definition. |
Logs the user out of their Adobe ID.
Kind: static method of CSDKUserAuth
Param | Type | Description |
---|---|---|
logoutSuccessCallback | logoutSuccessCallback |
See type definition. |
failureCallback | failureCallback |
See type definition. |
Called if the user login was successful.
Kind: global typedef
Param | Type | Description |
---|---|---|
userObject | UserObject |
See type definition. |
Called if the user logout was successful. No arguments are returned.
Called if the user login or logout fails.
Kind: global typedef
Param | Type | Description |
---|---|---|
error | string |
Error message. |
A JSON object containing user data.
Kind: global typedef
Properties
Name | Type | Description |
---|---|---|
adobeID | string |
The Adobe ID of the user. |
displayName | string |
The display name of the user. |
firstName | string |
The first name of the user. |
lastName | string |
The last name of the user. |
string |
The email address of the user. |