hoauth2-2.5.0: Haskell OAuth2 authentication client
Safe HaskellNone
LanguageHaskell2010

Network.OAuth.OAuth2.AuthorizationRequest

Contents

Synopsis

Errors

data Errors Source #

Authorization Code Grant Error Responses https://tools.ietf.org/html/rfc6749#section-4.1.2.1 Implicit Grant Error Responses https://tools.ietf.org/html/rfc6749#section-4.2.2.1

Instances

Instances details
Eq Errors Source # 
Instance details

Defined in Network.OAuth.OAuth2.AuthorizationRequest

Methods

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

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

Show Errors Source # 
Instance details

Defined in Network.OAuth.OAuth2.AuthorizationRequest

Generic Errors Source # 
Instance details

Defined in Network.OAuth.OAuth2.AuthorizationRequest

Associated Types

type Rep Errors :: Type -> Type #

Methods

from :: Errors -> Rep Errors x #

to :: Rep Errors x -> Errors #

ToJSON Errors Source # 
Instance details

Defined in Network.OAuth.OAuth2.AuthorizationRequest

FromJSON Errors Source # 
Instance details

Defined in Network.OAuth.OAuth2.AuthorizationRequest

type Rep Errors Source # 
Instance details

Defined in Network.OAuth.OAuth2.AuthorizationRequest

type Rep Errors = D1 ('MetaData "Errors" "Network.OAuth.OAuth2.AuthorizationRequest" "hoauth2-2.5.0-5oPHvsmGj3IL4g1W182tTw" 'False) ((C1 ('MetaCons "InvalidRequest" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UnauthorizedClient" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AccessDenied" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "UnsupportedResponseType" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InvalidScope" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ServerError" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TemporarilyUnavailable" 'PrefixI 'False) (U1 :: Type -> Type))))

URLs

authorizationUrl :: OAuth2 -> URI Source #

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