Safe Haskell | None |
---|---|
Language | Haskell2010 |
Errors
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
InvalidRequest | |
UnauthorizedClient | |
AccessDenied | |
UnsupportedResponseType | |
InvalidScope | |
ServerError | |
TemporarilyUnavailable |
Instances
Eq Errors Source # | |
Show Errors Source # | |
Generic Errors Source # | |
ToJSON Errors Source # | |
Defined in Network.OAuth.OAuth2.AuthorizationRequest | |
FromJSON Errors Source # | |
type Rep Errors Source # | |
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.