hsoz-0.0.1.0: Iron, Hawk, Oz: Web auth protocols

Safe HaskellNone
LanguageHaskell2010

Network.Oz.Client

Description

Functions for making Oz-authenticated requests.

This module is under construction.

Synopsis

Documentation

header :: Text -> Method -> OzSealedTicket -> IO Header Source #

A convenience utility to generate the application Hawk request authorization header for making authenticated Oz requests.

reissue :: Endpoints -> Credentials -> OzTicket -> IO (Either String OzTicket) Source #

Re-issues (refreshes) a ticket.

data Endpoints Source #

Describes the URL configuration of the Oz server.

defaultEndpoints :: Endpoints Source #

A normal set of endpoint URL paths.