GetIdentityStatusAndData
Retrieves identity status and data for given identity type for this profile.
Service | Operation |
---|---|
identity | GET_IDENTITY_STATUS_AND_DATA |
Method Parameters
Parameter | Description |
---|---|
authenticationType | Type of authentication. |
externalAuthName | The name of the external authentication mechanism (optional, used for custom authentication types) |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
//cloud code only
//cloud code only
//cloud code only
//cloud code only
//cloud code only
// Cloud Code only. To view example, switch to the Cloud Code tab
var authenticationType = "Facebook";
var externalAuthName = "";
var identityProxy = bridge.getIdentityServiceProxy();
var postResult = identityProxy.getIdentityStatusAndData(authenticationType, externalAuthName);
{
"service":"identity",
"operation":"GET_IDENTITY_STATUS_AND_DATA",
"data":{
"authenticationType":"Facebook",
"externalAuthName":""
}
}
JSON Response
{
"data": {
"identities": {
"Facebook": {
"tokenExpired": true,
"externalId": "111234914143270",
"loginAuthType": "FacebookLimited",
"identityData": null
}
}
},
"status": 200
}