-
public class LoginManager.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static LoginManager.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description LoginManagergetInstance()Getter for the login manager. final Map<String, String>getExtraDataFromIntent(Intent intent)To get login result extra data from the returned intent. final BooleanisPublishPermission(String permission)To check whether the permission is for publishing content. final LoginResultcomputeLoginResult(LoginClient.Request request, AccessToken newToken, AuthenticationToken newIdToken)-
-
Method Detail
-
getInstance
LoginManager getInstance()
Getter for the login manager.
-
getExtraDataFromIntent
final Map<String, String> getExtraDataFromIntent(Intent intent)
To get login result extra data from the returned intent. This method is not intended to be used by 3rd-party developers.
- Parameters:
intent- the intent result from the activity call
-
isPublishPermission
final Boolean isPublishPermission(String permission)
To check whether the permission is for publishing content. This method is not intended to be used by 3rd-party developers.
- Parameters:
permission- the permission name
-
computeLoginResult
final LoginResult computeLoginResult(LoginClient.Request request, AccessToken newToken, AuthenticationToken newIdToken)
-
-
-
-