hoauth2-1.14.0: Haskell OAuth2 authentication client

Safe Haskell | None
Language | Haskell2010

Network.OAuth.OAuth2.AuthorizationRequest

Synopsis

- data Errors
  - = InvalidRequest
  - | UnauthorizedClient
  - | AccessDenied
  - | UnsupportedResponseType
  - | InvalidScope
  - | ServerError
  - | TemporarilyUnavailable

# Documentation

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

Constructors

InvalidRequest |
UnauthorizedClient |
AccessDenied |
UnsupportedResponseType |
InvalidScope |
ServerError |
TemporarilyUnavailable |

#### 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 Methods showsPrec :: Int -> Errors -> ShowS show :: Errors -> String showList :: [Errors] -> ShowS
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 Methods toJSON :: Errors -> Value Source # toEncoding :: Errors -> Encoding Source # toJSONList :: [Errors] -> Value Source # toEncodingList :: [Errors] -> Encoding Source #
FromJSON Errors Source # |
Instance details Defined in Network.OAuth.OAuth2.AuthorizationRequest Methods parseJSON :: Value -> Parser Errors Source # parseJSONList :: Value -> Parser [Errors] Source #
type Rep Errors Source # |

Instance details

Defined in Network.OAuth.OAuth2.AuthorizationRequest

type Rep Errors = D1 ('MetaData "Errors" "Network.OAuth.OAuth2.AuthorizationRequest" "hoauth2-1.14.0-Ck2SwEuhqj8KDmVIBvGQ7m" '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))))