hoauth2-2.14.3: Haskell OAuth2 authentication client
Safe HaskellNone
LanguageHaskell2010

Network.OAuth.OAuth2

Description

A lightweight oauth2 Haskell binding. See Readme for more details

Synopsis

Documentation

data OAuth2 Source #

Query Parameter Representation

Instances

Instances details
Default OAuth2 Source # 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Methods

def :: OAuth2 #

Show OAuth2 Source # 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Eq OAuth2 Source # 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Methods

(==) :: OAuth2 -> OAuth2 -> Bool #

(/=) :: OAuth2 -> OAuth2 -> Bool #

data OAuth2Token Source #

Constructors

OAuth2Token 

Fields

type PostBody = [(ByteString, ByteString)] Source #

Type synonym of post body content

newtype IdToken Source #

Constructors

IdToken 

Fields

type QueryParams = [(ByteString, ByteString)] Source #

Type sysnonym of request query params

Authorization Requset

authorizationUrlWithParams :: QueryParams -> OAuth2 -> URI Source #

Prepare the authorization URL. Redirect to this URL asking for user interactive authentication.

Since: 2.6.0

Token Request

OAuth'ed http client utilities