-
- 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 NONE
Indicates an access token has not been obtained, or is otherwise invalid.
FACEBOOK_APPLICATION_WEB
Indicates an access token was obtained by the user logging in through the Facebook app for Android using the web login dialog.
FACEBOOK_APPLICATION_NATIVE
Indicates an access token was obtained by the user logging in through the Facebook app for Android using the native login dialog.
FACEBOOK_APPLICATION_SERVICE
Indicates 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_VIEW
Indicates an access token was obtained by the user logging in through the Web-based dialog.
CHROME_CUSTOM_TAB
Indicates an access token was obtained by the user logging in through the Web-based dialog on a Chrome Custom Tab.
TEST_USER
Indicates an access token is for a test user rather than an actual Facebook user.
CLIENT_TOKEN
Indicates an access token constructed with a Client Token.
DEVICE_AUTH
Indicates an access token constructed from facebook.com/device
INSTAGRAM_APPLICATION_WEB
Indicates an access token was obtained by the user logging in through the Instagram app for Android using the web login dialog.
INSTAGRAM_CUSTOM_CHROME_TAB
Indicates an access token was obtained by the user logging in to Instagram through the Web-based dialog on a Chrome Custom Tab.
INSTAGRAM_WEB_VIEW
Indicates 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 Boolean
canExtendToken()
final Boolean
fromInstagram()
final String
getName()
final Integer
getOrdinal()
-
-
Method Detail
-
canExtendToken
final Boolean canExtendToken()
-
fromInstagram
final Boolean fromInstagram()
-
getOrdinal
final Integer getOrdinal()
-
-
-
-