Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2.authentication.methods / OrangeMobileNetworkMethod

OrangeMobileNetworkMethod

class OrangeMobileNetworkMethod : AuthenticationMethod

Manages authentication of users based on the used Orange mobile data network.

This method can only authenticate Orange customers.

Instances of this OrangeMobileNetworkMethod must be created using the AuthenticationService.getOrangeMobileNetworkMethod method.

Functions

authenticate

fun authenticate(context: AuthenticationService.Context = Context.New, callback: WebcomResultCallback<AuthenticationDetails>? = null): Unit

Delegates the authentication of the user to the Orange mobile data network used to send the underlying request to the Webcom back end. This operation is asynchronous and calls the given callback with the authentication result once performed.