windowslive-0.1.1.1: Implements Windows Live Web Authentication and Delegated AuthenticationSource codeContentsIndex
Network.WindowsLive.Login
Contents
Generate URLs for starting authentication and signing out
Proces authentication responses
Description
Windows Live Web Authentication. See http://msdn.microsoft.com/en-us/library/bb676633.aspx.
Synopsis
getLoginUrl :: App -> Maybe String -> Maybe String -> URI
getLogoutUrl :: App -> Maybe String -> URI
baseUrl :: URI
secureUrl :: URI
processToken :: MonadError e m => App -> String -> m User
data User = User {
userID :: String
userTimestamp :: POSIXTime
}
Generate URLs for starting authentication and signing out
getLoginUrlSource
:: App
-> Maybe StringThe application context
-> Maybe StringThe locale in which to display the authentication UI
-> URI
Generate a relative authentication start URL
getLogoutUrlSource
:: App
-> Maybe StringThe locale in which to display the sign out process
-> URI
Generate a relative sign out URL
baseUrl :: URISource
secureUrl :: URISource
Proces authentication responses
processToken :: MonadError e m => App -> String -> m UserSource
Parse and validate a token from an authentication response. Throws an error on failure.
data User Source
Constructors
User
userID :: String
userTimestamp :: POSIXTime
show/hide Instances
Produced by Haddock version 2.6.0