SessionLoginBehavior
이 클래스는 더 이상 최신 버전의 SDK에서 사용할 수 없습니다.
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

Specifies the behaviors to try during openForRead.openForRead(com.facebook.Session.OpenRequest), openForPublish.openForPublish(com.facebook.Session.OpenRequest), requestNewReadPermissions.requestNewReadPermissions(com.facebook.Session.NewPermissionsRequest), or requestNewPublishPermissions.requestNewPublishPermissions(com.facebook.Session.NewPermissionsRequest).

확장:Enum
패키지:facebook
클래스 메서드
values()
public static SessionLoginBehavior values()
valueOf(String)
public static SessionLoginBehavior valueOf(String name)
매개변수설명
name
상수
SSO_WITH_FALLBACK
Specifies that Session should attempt Single Sign On (SSO), and if that does not work fall back to dialog auth. This is the default behavior.
public static final SessionLoginBehavior SSO_WITH_FALLBACK
SSO_ONLY
Specifies that Session should only attempt SSO. If SSO fails, then the open or new permissions call fails.
public static final SessionLoginBehavior SSO_ONLY
SUPPRESS_SSO
Specifies that SSO should not be attempted, and to only use dialog auth.
public static final SessionLoginBehavior SUPPRESS_SSO