class type auth_session =object
..end
auth_session
represents an authenticated sessionmethod auth_scheme : string
method auth_domain : Neturl.url list
Change: Since Ocamlnet-3.3, this is a list of Neturl.url
,
and no longer a list of strings.
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.