Introduced in: 26 Apr 2006 by Fredrik Thulin <ft@it.su.se>
Behaviours: yxa_app.
Authors: Fredrik Thulin (ft@it.su.se).
authenticate_subscriber/2 | The event package has requested that we authenticate the user who sent us this request. |
request/2 | YXA applications must export a request/2 function. |
response/2 | YXA applications must export a response/2 function. |
authenticate_subscriber(Request, YxaCtx) -> {true, AuthUser} | false | drop
The event package has requested that we authenticate the user who sent us this request. Do WWW _OR_ Proxy- authentication since there has been cases where a client first got a 407 from 'incomingproxy', sent a new request with proxy credentials, got a 401 from the eventserver and sent a new request with www credentials but without the proxy credentials, which of course caused the incomingproxy to one again require proxy authentication.
request(Request, YxaCtx) -> term()
returns: Yet to be specified. Return 'ok' for now.
YXA applications must export a request/2 function.
response(Response, YxaCtx) -> term()
returns: Yet to be specified. Return 'ok' for now.
YXA applications must export a response/2 function.
Generated by EDoc, Oct 17 2007, 16:48:12.