CustomMethod

class CustomMethod : AuthenticationMethod

Manages authentication of users based on an external ad-hoc (custom) identity provider.

See the Webcom online documentation to know the technical constraints on such a custom provider.

Instances of this CustomMethod must be created using the AuthenticationService.getCustomMethod method.

Functions

Link copied to clipboard
fun authenticate(    credentials: String,     context: AuthenticationService.Context = Context.New,     callback: WebcomResultCallback<AuthenticationDetails>? = null)

Authenticates the user based on credentials issued by the custom identity provider associated with this CustomMethod instance. This operation is asynchronous and calls the given callback with the authentication result once performed.