-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum AccessTokenSource extends Enum<AccessTokenSource>
Indicates where a Facebook access token was obtained from.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONEIndicates an access token has not been obtained, or is otherwise invalid.
FACEBOOK_APPLICATION_WEBIndicates an access token was obtained by the user logging in through the Facebook app for Android using the web login dialog.
FACEBOOK_APPLICATION_NATIVEIndicates an access token was obtained by the user logging in through the Facebook app for Android using the native login dialog.
FACEBOOK_APPLICATION_SERVICEIndicates an access token was obtained by asking the Facebook app for the current token based on permissions the user has already granted to the app. No dialog was shown to the user in this case.
WEB_VIEWIndicates an access token was obtained by the user logging in through the Web-based dialog.
CHROME_CUSTOM_TABIndicates an access token was obtained by the user logging in through the Web-based dialog on a Chrome Custom Tab.
TEST_USERIndicates an access token is for a test user rather than an actual Facebook user.
CLIENT_TOKENIndicates an access token constructed with a Client Token.
DEVICE_AUTHIndicates an access token constructed from facebook.com/device
INSTAGRAM_APPLICATION_WEBIndicates an access token was obtained by the user logging in through the Instagram app for Android using the web login dialog.
INSTAGRAM_CUSTOM_CHROME_TABIndicates an access token was obtained by the user logging in to Instagram through the Web-based dialog on a Chrome Custom Tab.
INSTAGRAM_WEB_VIEWIndicates an access token was obtained by the user logging in to Instagram through the Web-based dialog.
-
Method Summary
Modifier and Type Method Description final BooleancanExtendToken()final BooleanfromInstagram()final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
canExtendToken
final Boolean canExtendToken()
-
fromInstagram
final Boolean fromInstagram()
-
getOrdinal
final Integer getOrdinal()
-
-
-
-