authGetJSON :: (MonadIO m, FromJSON a)=> ManagerHTTP connection manager.
-> AccessToken-> URI-> ExceptT ByteString m aResponse as JSON
Conduct an authorized GET request and return response as JSON. Inject Access Token to Authorization Header.
:: a typeCtrl KGHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11
Modulehoauth2-2.15.2Haskell2010
Bindings for The OAuth 2.0 Authorization Framework: Bearer Token Usage RFC6750 https://www.rfc-editor.org/rfc/rfc6750
authGetJSON :: (MonadIO m, FromJSON a)=> ManagerHTTP connection manager.
-> AccessToken-> URI-> ExceptT ByteString m aResponse as JSON
Conduct an authorized GET request and return response as JSON. Inject Access Token to Authorization Header.
authGetBS :: MonadIO m=> ManagerHTTP connection manager.
-> AccessToken-> URI-> ExceptT ByteString m ByteStringResponse as ByteString
Conduct an authorized GET request. Inject Access Token to Authorization Header.
authGetJSONWithAuthMethod :: (MonadIO m, FromJSON a)=> APIAuthenticationMethod-> ManagerHTTP connection manager.
-> AccessToken-> URI-> ExceptT ByteString m aResponse as JSON
Conduct an authorized GET request and return response as JSON. Allow to specify how to append AccessToken.
authGetBSWithAuthMethod :: MonadIO m=> APIAuthenticationMethodSpecify the way that how to append the AccessToken in the request
-> ManagerHTTP connection manager.
-> AccessToken-> URI-> ExceptT ByteString m ByteStringResponse as ByteString
Conduct an authorized GET request and return response as ByteString. Allow to specify how to append AccessToken.
authPostJSON :: (MonadIO m, FromJSON a)=> ManagerHTTP connection manager.
-> AccessToken-> URI-> PostBody-> ExceptT ByteString m aResponse as JSON
Conduct POST request and return response as JSON. Inject Access Token to Authorization Header.
authPostBS :: MonadIO m=> ManagerHTTP connection manager.
-> AccessToken-> URI-> PostBody-> ExceptT ByteString m ByteStringResponse as ByteString
Conduct POST request. Inject Access Token to http header (Authorization)
authPostJSONWithAuthMethod :: (MonadIO m, FromJSON a)=> APIAuthenticationMethod-> ManagerHTTP connection manager.
-> AccessToken-> URI-> PostBody-> ExceptT ByteString m aResponse as ByteString
Conduct POST request and return response as JSON. Allow to specify how to append AccessToken.
authPostBSWithAuthMethod :: MonadIO m=> APIAuthenticationMethod-> ManagerHTTP connection manager.
-> AccessToken-> URI-> PostBody-> ExceptT ByteString m ByteStringResponse as ByteString
Conduct POST request and return response as ByteString. Allow to specify how to append AccessToken.
AuthInRequestHeaderProvides in Authorization header
AuthInRequestBodyProvides in request body
AuthInRequestQueryProvides in request query parameter
Eq APIAuthenticationMethodDefined in hoauth2-2.15.2 · Network.OAuth2.HttpClientOrd APIAuthenticationMethodDefined in hoauth2-2.15.2 · Network.OAuth2.HttpClient