Skip to main content
Version: 5.7.0

GetIdentityStatus

Retrieves identity status for given identity type for this profile.

ServiceOperation
identityGET_IDENTITY_STATUS
tip

The field loginAuthType will only have a non-null value if it differs from the authenticationType.

Method Parameters

ParameterDescription
authenticationTypeType of authentication.
externalAuthNameThe name of the external authentication mechanism (optional, used for custom authentication types)

Usage

http://localhost:3000
string authenticationType = "Facebook";
string externalAuthName = "";

SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.IdentityService.GetIdentityStatus(authenticationType, externalAuthName, successCallback, failureCallback);
JSON Response
{
"data": {
"identities": {
"Facebook": {
"tokenExpired": true,
"externalId": "111234914143270",
"loginAuthType": "FacebookLimited"
}
}
},
"status": 200
}