class type auth_session =Anobject
..end
auth_session
represents an authenticated sessionmethod auth_scheme : string
method auth_domain : string list
method auth_realm : string
method auth_user : string
method auth_in_advance : bool
method authenticate : http_call -> (string * string) list
authorization
.)
If the call is authenticated in advance, it does not contain
any authentication information. If the call is authenticated
in reaction to a 401 status, the response header contains
the www-authenticate
field(s).
method invalidate : http_call -> bool
true
if another authentication should
be started immediately.
Note: By returning true
the session can indicate a "stale"
condition in the sense of RFC 2617.