org.wicketstuff.facebook.behaviors
Class AbstractAuthEventBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.wicketstuff.facebook.behaviors.AbstractSubscribeBehavior
org.wicketstuff.facebook.behaviors.AbstractAuthEventBehavior
- All Implemented Interfaces:
- Serializable, IBehaviorListener, IComponentAwareEventSink, IRequestListener, IComponentAwareHeaderContributor, IClusterable
- Direct Known Subclasses:
- AuthLoginEventBehavior, AuthResponseChangeEventBehavior, AuthStatusChangeEventBehavior
public abstract class AbstractAuthEventBehavior
- extends AbstractSubscribeBehavior
https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/
- Author:
- Till Freier
- See Also:
- Serialized Form
| Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAuthEventBehavior
protected AbstractAuthEventBehavior(String event)
- Parameters:
event -
onEvent
protected void onEvent(AjaxRequestTarget target,
IRequestParameters parameters,
String response)
- Specified by:
onEvent in class AbstractSubscribeBehavior
onSessionEvent
protected abstract void onSessionEvent(AjaxRequestTarget target,
String status,
String userId,
String signedRequest,
String expiresIn,
String accessToken)
- Parameters:
status - Current status of the sessionuserId - String representing the current user's IDsignedRequest - String with the current signedRequestexpiresIn - UNIX time when the session expiresaccessToken - Access token of the user
Copyright © 2014. All rights reserved.