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,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
-
-
Field Summary
-
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractAuthEventBehavior(String event)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidonEvent(AjaxRequestTarget target, IRequestParameters parameters, String response)protected abstract voidonSessionEvent(AjaxRequestTarget target, String status, String userId, String signedRequest, String expiresIn, String accessToken)-
Methods inherited from class org.wicketstuff.facebook.behaviors.AbstractSubscribeBehavior
renderHead, respond
-
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributes
-
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
-
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.wicket.IRequestListener
rendersPage
-
-
-
-
Constructor Detail
-
AbstractAuthEventBehavior
protected AbstractAuthEventBehavior(String event)
- Parameters:
event-
-
-
Method Detail
-
onEvent
protected void onEvent(AjaxRequestTarget target, IRequestParameters parameters, String response)
- Specified by:
onEventin classAbstractSubscribeBehavior
-
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
-
-