class Webcom
instance. The new account is associated to a new
identity with the provider
authentication method, whose details (typically msisdn, email or password) are
provided by the details
parameter. Currently, only 2 authentication methods are available to add an
account: "password" (authentication with email and password) or "phone" (authentication with msisdn and
one-time-password).class Webcom
instance.
See Webcom.addIdentity
.Webcom.addIdentity
method to
create a new account.Webcom.addIdentity
method to
create a new account.Webcom.addIdentity
method to
create a new account.Webcom.addIdentity
method to
create a new account.Webcom.addIdentity
method to
create a new account.Webcom.authWithOAuth
.class AuthOptions
instance.class AuthOptions
instance.interface OnAuth.Identity
instance when available. This piece of information is available only when authenticating using OAuth2 login.interface OnAuth.Identity
instance.interface OnAuth.Identity
instance when available. Its availability depends on the identity provider that forged this interface OnAuth.Identity
instance.interface OnAuth.Identity
instance when available. Its availability depends on the identity provider that forged this interface OnAuth.Identity
instance. The email is always available when authenticating with email/password. The email may be available when authenticating with an OAuth2 provider.interface OnAuth.Identity
instance when available. Note that it may be missing, typically in return of the com.orange.webcom.sdk.Webcom$addIdentity(java.lang.String,com.orange.webcom.sdk.AuthDetails,com.orange.webcom.sdk.OnAuth)
method, which doesn't authenticate the user.interface OnAuth.Identity
instance as a interface JSONValue
. It is null
if no provider profile is attached to this instance.null
.null
. If the conversion is not possible, this method returns null
.null
. If the conversion of the given property is not possible (see com.orange.webcom.sdk.JSONValue$getValueAsListOf(java.lang.Class)
), this method returns null
.String
to a given type. If this JSON value is not a JSON object or if this JSON object has no property with the given name, then this method returns null
. If the conversion of the given property is not possible (see com.orange.webcom.sdk.JSONValue$getValueAsMapOf(java.lang.Class)
), this method returns null
.interface OnAuth.Identity
instance. The returned value closely depends on the used authentication method: Anonymous login: anonymous
Email/password login: password
OAuth2 login: google
, facebook
, orange
... Mobile Connect login: mobileconnect
OIDC login: oidc.
Implicit login: wassup
Custom login: custom.
interface OnAuth.Identity
instance. The returned value is specific to each identity provider and is not guaranteed to be unique across them. If you need a unique user identifier, used com.orange.webcom.sdk.OnAuth.Identity$getUid()
.interface OnAuth.Identity
instance.null
.null
.String
to a given type. If the conversion is not possible (either the JSON value is not a map or one of its values can't be converted to the given type), this method returns null
.interface OnAuth.Identity
instance when available. Note that it may be missing, typically in return of the com.orange.webcom.sdk.Webcom$addIdentity(java.lang.String,com.orange.webcom.sdk.AuthDetails,com.orange.webcom.sdk.OnAuth)
method, which doesn't authenticate the user.Webcom.sendOtp
method.Webcom.sendOtp
method.Webcom.sendOtp
method.com.orange.webcom.sdk.OnAuth$onComplete(com.orange.webcom.sdk.OnAuth.AuthResponse)
method of the authentication callback.com.orange.webcom.sdk.Webcom$authWithOAuth(android.content.Context,java.lang.String,com.orange.webcom.sdk.OnAuthWithOAuth)
and com.orange.webcom.sdk.Webcom$authWithOAuth(android.content.Context,java.lang.String,com.orange.webcom.sdk.AuthOptions,com.orange.webcom.sdk.OnAuthWithOAuth,kotlin.Boolean)
.com.orange.webcom.sdk.Webcom$set(java.lang.Object,com.orange.webcom.sdk.OnComplete)
, com.orange.webcom.sdk.Webcom$update(java.lang.Object,com.orange.webcom.sdk.OnComplete)
, com.orange.webcom.sdk.Webcom#push(OnComplete) or com.orange.webcom.sdk.Webcom$remove(com.orange.webcom.sdk.OnComplete)
.runnable
callback to be called as soon as the Webcom SDK has completed its initialization.runnable
callback to be called as soon as the Webcom SDK has completed its initialization.class Webcom
API.
This wrapper provides a callback method that is passed a interface JSONValue
instance.interface JSONValue
instancedata
under a new child data node with a unique key.data
under a new child data node with a unique key.Webcom.authInternally
method."login"
message template.class AuthOptions
instance.enum NotificationEvent
on the current data node path, to be received through push mobile
notifications sent to a given deviceId
. This operation requires to be authenticated.enum NotificationEvent
on the current data node path, to be received through push mobile
notifications sent to a given deviceId
. This operation requires to be authenticated.enum NotificationEvent
on the current data node path, to be received through push mobile
notifications sent to a given deviceId
. This operation requires to be authenticated.enum NotificationEvent
s on the current data node path, to be received through push
mobile notifications sent to a given deviceId
. This operation requires to be authenticated.enum NotificationEvent
s on the current data node path, to be received through push
mobile notifications sent to a given deviceId
. This operation requires to be authenticated.enum NotificationEvent
s on the current data node path, to be received through push
mobile notifications sent to a given deviceId
. This operation requires to be authenticated.enum NotificationEvent
s on the current data node path, so that no longer push mobile notifications
are sent to the given deviceId
. This operation requires to be authenticated.enum NotificationEvent
s on the current data node path, so that no longer push mobile notifications
are sent to the given deviceId
. This operation requires to be authenticated.class VerificationData
instance based on a one time verification code.class VerificationData
instance, to verify an identity with a permanent password (email-
or phone- based identity).Webcom.addIdentity
method. If the verification is successful,
then the user is automatically authenticated with the verified identity.class AuthOptions
instance with a custom value.