Methods
delete(callback)
    Delete this identity. This operation invalids the instance of this identity
    Parameters:
| Name | Type | Description | 
|---|---|---|
| callback | DeleteIdenityCallback | the callback called after the operation is done | 
getIdentifier() → {String}
    Return the identifier for that provider in the current real
Returns:
- Type:
- 
        
String
    This could partially be obfuscated
    
getOperator() → {String}
    Return the operator (available only for msisdn) or null
Returns:
- Type:
- 
        
String
    The operator or null
    
getSecret() → {String}
    Return the secret
Returns:
- Type:
- 
        
String
    This is partially or entirely obfuscated
    
getType() → {String}
    Return the type of the identity (facebook, google, msisdn, email)
Returns:
- Type:
- 
        
String
isConfirmed() → {Boolean}
    Valid only for email identities, return if the email is confirmed (triangulate) or not
Returns:
- Type:
- 
        
Boolean
isValid() → {Boolean}
    Return if this identity is changed (change pwd email etc...)
Returns:
- Type:
- 
        
Boolean
updateCredential(newCredential, password, callback)
    Update the identifier. This operation invalids the instance of this identity
    Parameters:
| Name | Type | Description | 
|---|---|---|
| newCredential | String | the new identifier | 
| password | String | the secret | 
| callback | UpdateCredentialCallback | the callback called after the operation is done | 
updateSecret(oldSecret, newSecret, callback)
    Update the secret. This operation invalids the instance of this identity
    Parameters:
| Name | Type | Description | 
|---|---|---|
| oldSecret | String | the old password | 
| newSecret | String | the new password | 
| callback | UpdateSecretCallback | the callback called after the operation is done |