openid-0.2.1.0: An implementation of the OpenID-2.0 spec.

Safe HaskellNone
LanguageHaskell98

Network.OpenID.AttributeExchange

Synopsis

Documentation

type AXFieldVal = (AXFieldTy, String) Source #

Used to store responses.

axEmailRequired :: Params Source #

The simplest use case is to request the user's email. This would be used to replace traditional verification emails.

axExtParams Source #

Arguments

:: [AXFieldTy]

params we want them to send in the "id_res" mode verification

-> Params 

Use these functions to roll your own list of fields to request when you send an auth request

axExtParams' Source #

Arguments

:: String

alias. it doesn't really matter what this is as long as we're consistent

-> [AXFieldTy]

params we require in the "id_res" mode verification

-> Params 

specify the alias as well as the list of requested fields

getAxFields :: Params -> [AXFieldVal] Source #

Retrieve the requested fields from the HTTP request params. Keep | in mind the spec does not require that the OpenID Provider return | any of our requested fields, even on a successful verification.