public class OnAuth.AuthResponse
Authentication response data passed to the
method of the authentication callback.com.orange.webcom.sdk.OnAuth$onComplete(com.orange.webcom.sdk.OnAuth.AuthResponse)
Constructor and Description |
---|
AuthResponse(org.json.JSONObject data)
Deprecated.
|
AuthResponse(java.lang.String jsonData) |
AuthResponse(com.orange.webcom.dessert.TreeLikeData jsonData) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEmail() |
java.util.Date |
getExpires() |
OnAuth.Identity |
getIdentity()
Get the user's identity related to an authentication.
|
OnAuth.AuthProvider |
getProvider() |
java.lang.String |
getToken() |
java.lang.String |
getUid() |
public AuthResponse(org.json.JSONObject data)
public AuthResponse(java.lang.String jsonData)
public AuthResponse(com.orange.webcom.dessert.TreeLikeData jsonData)
public OnAuth.AuthProvider getProvider()
public java.lang.String getToken()
public java.lang.String getUid()
public java.lang.String getEmail()
public java.util.Date getExpires()
public OnAuth.Identity getIdentity()
Get the user's identity related to an authentication.