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.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Modulehoauth2-2.14.3Haskell2010
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.
authGetBS2 :: MonadIO m=> ManagerHTTP connection manager.
-> AccessToken-> URI-> ExceptT ByteString m ByteStringResponse as ByteString
Deprecated. use authGetBSWithAuthMethod
Same to authGetBS but set access token to query parameter rather than 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.
authGetJSONInternal :: (MonadIO m, FromJSON a)=> APIAuthenticationMethod-> ManagerHTTP connection manager.
-> AccessToken-> URI-> ExceptT ByteString m aResponse as JSON
Deprecated. use authGetJSONWithAuthMethod
Deprecated. Use authGetJSONWithAuthMethod instead.
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.
authGetBSInternal :: MonadIO m=> APIAuthenticationMethod-> ManagerHTTP connection manager.
-> AccessToken-> URI-> ExceptT ByteString m ByteStringResponse as ByteString
Deprecated. use authGetBSWithAuthMethod
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)
authPostBS2 :: MonadIO m=> ManagerHTTP connection manager.
-> AccessToken-> URI-> PostBody-> ExceptT ByteString m ByteStringResponse as ByteString
Deprecated. use authPostBSWithAuthMethod
Conduct POST request with access token only in the request body but header.
authPostBS3 :: MonadIO m=> ManagerHTTP connection manager.
-> AccessToken-> URI-> PostBody-> ExceptT ByteString m ByteStringResponse as ByteString
Deprecated. use authPostBSWithAuthMethod
Conduct POST request with access token only in the header and not in body
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.
authPostJSONInternal :: (MonadIO m, FromJSON a)=> APIAuthenticationMethod-> ManagerHTTP connection manager.
-> AccessToken-> URI-> PostBody-> ExceptT ByteString m aResponse as ByteString
Deprecated. use authPostJSONWithAuthMethod
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.
authPostBSInternal :: MonadIO m=> APIAuthenticationMethod-> ManagerHTTP connection manager.
-> AccessToken-> URI-> PostBody-> ExceptT ByteString m ByteStringResponse as ByteString
Deprecated. use authPostBSWithAuthMethod
AuthInRequestHeaderProvides in Authorization header
AuthInRequestBodyProvides in request body
AuthInRequestQueryProvides in request query parameter
Eq APIAuthenticationMethodDefined in hoauth2-2.14.3 · Network.OAuth.OAuth2.HttpClientOrd APIAuthenticationMethodDefined in hoauth2-2.14.3 · Network.OAuth.OAuth2.HttpClient