class OAuth2Method : AuthenticationMethod
Manages authentication of users by delegation to a third-party OAuth2 identity provider.
Instances of this OAuth2Method must be created using the AuthenticationService.getOAuth2Method method.
sealed class Provider
List of all available 3rd-party OAuth2 providers. |
fun authenticate(context: AuthenticationService.Context = Context.New, callback: WebcomResultCallback<AuthenticationDetails>? = null): Unit
Delegates the authentication of the user to the third-party provider associated with this OAuth2Method instance. This operation is asynchronous and calls the given callback with the authentication result once performed. |