Android SDK Version
All Implemented Interfaces:
android.os.Parcelable


public class LoginClient
 implements Parcelable
Nested Class Summary
Modifier and TypeClassDescription
public interfaceLoginClient.OnCompletedListener
public interfaceLoginClient.BackgroundProcessingListener
public final classLoginClient.Request
public final classLoginClient.Result
public classLoginClient.Companion
Constructor Summary
ConstructorDescription
LoginClient(Fragment fragment)
LoginClient(Parcel source)
Method Summary
Modifier and TypeMethodDescription
final Array<LoginMethodHandler>getHandlersToTry()
final UnitsetHandlersToTry(Array<LoginMethodHandler> handlersToTry)
final FragmentgetFragment()
final UnitsetFragment(Fragment fragment)
final LoginClient.OnCompletedListenergetOnCompletedListener()
final UnitsetOnCompletedListener(LoginClient.OnCompletedListener onCompletedListener)
final LoginClient.BackgroundProcessingListenergetBackgroundProcessingListener()
final UnitsetBackgroundProcessingListener(LoginClient.BackgroundProcessingListener backgroundProcessingListener)
final BooleangetCheckedInternetPermission()
final UnitsetCheckedInternetPermission(Boolean checkedInternetPermission)
final LoginClient.RequestgetPendingRequest()
final UnitsetPendingRequest(LoginClient.Request pendingRequest)
final Map<String, String>getLoggingExtras()
final UnitsetLoggingExtras(Map<String, String> loggingExtras)
final Map<String, String>getExtraData()
final UnitsetExtraData(Map<String, String> extraData)
final FragmentActivitygetActivity()
final BooleangetInProgress()
final UnitstartOrContinueAuth(LoginClient.Request request)
final Unitauthorize(LoginClient.Request request)
final UnitcancelCurrentHandler()
final LoginMethodHandlergetCurrentHandler()
final BooleanonActivityResult(Integer requestCode, Integer resultCode, Intent data)
Array<LoginMethodHandler>getHandlersToTry(LoginClient.Request request)
final BooleancheckInternetPermission()
final UnittryNextHandler()
final UnitaddExtraData(String key, String value, Boolean accumulate)
final BooleantryCurrentHandler()
final UnitcompleteAndValidate(LoginClient.Result outcome)
final Unitcomplete(LoginClient.Result outcome)
final IntegercheckPermission(String permission)
final UnitvalidateSameFbidAndFinish(LoginClient.Result pendingResult)
final UnitnotifyBackgroundProcessingStart()
final UnitnotifyBackgroundProcessingStop()
IntegerdescribeContents()
UnitwriteToParcel(Parcel dest, Integer flags)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

LoginClient

LoginClient(Fragment fragment)

LoginClient

LoginClient(Parcel source)
Method Detail

getHandlersToTry

 final Array<LoginMethodHandler> getHandlersToTry()

setHandlersToTry

 final UnitsetHandlersToTry(Array<LoginMethodHandler> handlersToTry)

getFragment

 final FragmentgetFragment()

setFragment

 final UnitsetFragment(Fragment fragment)

setOnCompletedListener

 final UnitsetOnCompletedListener(LoginClient.OnCompletedListener onCompletedListener)

setBackgroundProcessingListener

 final UnitsetBackgroundProcessingListener(LoginClient.BackgroundProcessingListener backgroundProcessingListener)

getCheckedInternetPermission

 final BooleangetCheckedInternetPermission()

setCheckedInternetPermission

 final UnitsetCheckedInternetPermission(Boolean checkedInternetPermission)

getPendingRequest

 final LoginClient.RequestgetPendingRequest()

setPendingRequest

 final UnitsetPendingRequest(LoginClient.Request pendingRequest)

getLoggingExtras

 final Map<String, String> getLoggingExtras()

setLoggingExtras

 final UnitsetLoggingExtras(Map<String, String> loggingExtras)

getExtraData

 final Map<String, String> getExtraData()

setExtraData

 final UnitsetExtraData(Map<String, String> extraData)

getActivity

 final FragmentActivitygetActivity()

getInProgress

 final BooleangetInProgress()

startOrContinueAuth

 final UnitstartOrContinueAuth(LoginClient.Request request)

authorize

 final Unitauthorize(LoginClient.Request request)

cancelCurrentHandler

 final UnitcancelCurrentHandler()

getCurrentHandler

 final LoginMethodHandlergetCurrentHandler()

onActivityResult

 final BooleanonActivityResult(Integer requestCode, Integer resultCode, Intent data)

checkInternetPermission

 final BooleancheckInternetPermission()

tryNextHandler

 final UnittryNextHandler()

addExtraData

 final UnitaddExtraData(String key, String value, Boolean accumulate)

tryCurrentHandler

 final BooleantryCurrentHandler()

completeAndValidate

 final UnitcompleteAndValidate(LoginClient.Result outcome)

complete

 final Unitcomplete(LoginClient.Result outcome)

checkPermission

 final IntegercheckPermission(String permission)

validateSameFbidAndFinish

 final UnitvalidateSameFbidAndFinish(LoginClient.Result pendingResult)

notifyBackgroundProcessingStart

 final UnitnotifyBackgroundProcessingStart()

notifyBackgroundProcessingStop

 final UnitnotifyBackgroundProcessingStop()

describeContents

IntegerdescribeContents()

writeToParcel

UnitwriteToParcel(Parcel dest, Integer flags)