AccessTokenSource
有此級別的更新版本。前往查看 最新版本。

Indicates where a Facebook access token was obtained from.

伸延:Enum
套件:facebook
類別方式
values()
public static AccessTokenSource values()
valueOf(String)
public static AccessTokenSource valueOf(String name)
參數說明
name
常數
NONE
Indicates an access token has not been obtained, or is otherwise invalid.
public static final AccessTokenSource NONE
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.
public static final AccessTokenSource FACEBOOK_APPLICATION_WEB
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.
public static final AccessTokenSource FACEBOOK_APPLICATION_NATIVE
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.
public static final AccessTokenSource FACEBOOK_APPLICATION_SERVICE
WEB_VIEW
Indicates an access token was obtained by the user logging in through the Web-based dialog.
public static final AccessTokenSource WEB_VIEW
CHROME_CUSTOM_TAB
Indicates an access token was obtained by the user logging in through the Web-based dialog on a Chrome Custom Tab.
public static final AccessTokenSource CHROME_CUSTOM_TAB
TEST_USER
Indicates an access token is for a test user rather than an actual Facebook user.
public static final AccessTokenSource TEST_USER
CLIENT_TOKEN
Indicates an access token constructed with a Client Token.
public static final AccessTokenSource CLIENT_TOKEN
DEVICE_AUTH
Indicates an access token constructed from facebook.com/device
public static final AccessTokenSource DEVICE_AUTH