public abstract class AuthHandler
extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
requestCode |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
authorize(Activity activity)
Called to request authorization.
|
boolean |
handleOnActivityResult(int requestCode,
int resultCode,
Intent data)
Called when
Activity.onActivityResult(int, int, android.content.Intent)
is called to complete the authorization flow. |
public abstract boolean authorize(Activity activity)
public boolean handleOnActivityResult(int requestCode,
int resultCode,
Intent data)
Activity.onActivityResult(int, int, android.content.Intent)
is called to complete the authorization flow.requestCode - the request code used for SSOresultCode - the result code returned by the SSO activitydata - the result data returned by the SSO activity