/usr/share/doc/libghc-authenticate-oauth-doc/html/Web-Authenticate-OAuth-IO.html is in libghc-authenticate-oauth-doc 1.6-2build4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Web.Authenticate.OAuth.IO</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Web-Authenticate-OAuth-IO.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Web-Authenticate-OAuth-IO.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">authenticate-oauth-1.6: Library to authenticate with OAuth for Haskell web applications.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Web.Authenticate.OAuth.IO</p></div><div id="description"><p class="caption">Description</p><div class="doc"><div class="warning"><p>Deprecated: This module is deprecated; rewrite your code using MonadResource</p></div><p>This Module provides interface for the instance of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a></code> instead of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a></code>.
What this module do is just adding <code><a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#v:withManager">withManager</a></code> or <code>runResourceT</code>.</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short">module <a href="Web-Authenticate-OAuth.html">Web.Authenticate.OAuth</a></li><li class="src short"><a href="#v:getAccessToken">getAccessToken</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m => <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a> -> <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a> -> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></li><li class="src short"><a href="#v:getTemporaryCredential">getTemporaryCredential</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m => <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a> -> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></li><li class="src short"><a href="#v:getTemporaryCredentialWithScope">getTemporaryCredentialWithScope</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m => <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a> -> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></li><li class="src short"><a href="#v:getTemporaryCredentialProxy">getTemporaryCredentialProxy</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Proxy">Proxy</a> -> <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a> -> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></li><li class="src short"><a href="#v:getTemporaryCredential-39-">getTemporaryCredential'</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m => (<a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Request">Request</a> -> <a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Request">Request</a>) -> <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a> -> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></li><li class="src short"><a href="#v:getTokenCredential">getTokenCredential</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m => <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a> -> <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a> -> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></li><li class="src short"><a href="#v:getAccessTokenProxy">getAccessTokenProxy</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Proxy">Proxy</a> -> <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a> -> <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a> -> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></li><li class="src short"><a href="#v:getTokenCredentialProxy">getTokenCredentialProxy</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Proxy">Proxy</a> -> <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a> -> <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a> -> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></li><li class="src short"><a href="#v:getAccessToken-39-">getAccessToken'</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m => (<a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Request">Request</a> -> <a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Request">Request</a>) -> <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a> -> <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a> -> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src">module <a href="Web-Authenticate-OAuth.html">Web.Authenticate.OAuth</a></p></div><div class="top"><p class="src"><a id="v:getAccessToken" class="def">getAccessToken</a> <a href="src/Web-Authenticate-OAuth-IO.html#getAccessToken" class="link">Source</a> <a href="#v:getAccessToken" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a></td><td class="doc"><p>OAuth Application</p></td></tr><tr><td class="src">-> <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></td><td class="doc"><p>Temporary Credential with oauth_verifier</p></td></tr><tr><td class="src">-> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></td><td class="doc"><p>Token Credential (Access Token & Secret)</p></td></tr></table></div><div class="doc"><p>Get Access token.</p></div></div><div class="top"><p class="src"><a id="v:getTemporaryCredential" class="def">getTemporaryCredential</a> <a href="src/Web-Authenticate-OAuth-IO.html#getTemporaryCredential" class="link">Source</a> <a href="#v:getTemporaryCredential" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a></td><td class="doc"><p>OAuth Application</p></td></tr><tr><td class="src">-> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></td><td class="doc"><p>Temporary Credential (Request Token & Secret).</p></td></tr></table></div><div class="doc"><p>Get temporary credential for requesting acces token.</p></div></div><div class="top"><p class="src"><a id="v:getTemporaryCredentialWithScope" class="def">getTemporaryCredentialWithScope</a> <a href="src/Web-Authenticate-OAuth-IO.html#getTemporaryCredentialWithScope" class="link">Source</a> <a href="#v:getTemporaryCredentialWithScope" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>Scope parameter string</p></td></tr><tr><td class="src">-> <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a></td><td class="doc"><p>OAuth Application</p></td></tr><tr><td class="src">-> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></td><td class="doc"><p>Temporay Credential (Request Token & Secret).</p></td></tr></table></div><div class="doc"><p>Get temporary credential for requesting access token with Scope parameter.</p></div></div><div class="top"><p class="src"><a id="v:getTemporaryCredentialProxy" class="def">getTemporaryCredentialProxy</a> <a href="src/Web-Authenticate-OAuth-IO.html#getTemporaryCredentialProxy" class="link">Source</a> <a href="#v:getTemporaryCredentialProxy" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Proxy">Proxy</a></td><td class="doc"><p>Proxy</p></td></tr><tr><td class="src">-> <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a></td><td class="doc"><p>OAuth Application</p></td></tr><tr><td class="src">-> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></td><td class="doc"><p>Temporary Credential (Request Token & Secret).</p></td></tr></table></div><div class="doc"><p>Get temporary credential for requesting access token via the proxy.</p></div></div><div class="top"><p class="src"><a id="v:getTemporaryCredential-39-" class="def">getTemporaryCredential'</a> <a href="src/Web-Authenticate-OAuth-IO.html#getTemporaryCredential%27" class="link">Source</a> <a href="#v:getTemporaryCredential-39-" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m</td><td class="doc empty"> </td></tr><tr><td class="src">=> (<a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Request">Request</a> -> <a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Request">Request</a>)</td><td class="doc"><p>Request Hook</p></td></tr><tr><td class="src">-> <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a></td><td class="doc"><p>OAuth Application</p></td></tr><tr><td class="src">-> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></td><td class="doc"><p>Temporary Credential (Request Token & Secret).</p></td></tr></table></div></div><div class="top"><p class="src"><a id="v:getTokenCredential" class="def">getTokenCredential</a> <a href="src/Web-Authenticate-OAuth-IO.html#getTokenCredential" class="link">Source</a> <a href="#v:getTokenCredential" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a></td><td class="doc"><p>OAuth Application</p></td></tr><tr><td class="src">-> <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></td><td class="doc"><p>Temporary Credential with oauth_verifier</p></td></tr><tr><td class="src">-> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></td><td class="doc"><p>Token Credential (Access Token & Secret)</p></td></tr></table></div><div class="doc"><p>Get Access token.</p></div></div><div class="top"><p class="src"><a id="v:getAccessTokenProxy" class="def">getAccessTokenProxy</a> <a href="src/Web-Authenticate-OAuth-IO.html#getAccessTokenProxy" class="link">Source</a> <a href="#v:getAccessTokenProxy" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Proxy">Proxy</a></td><td class="doc"><p>Proxy</p></td></tr><tr><td class="src">-> <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a></td><td class="doc"><p>OAuth Application</p></td></tr><tr><td class="src">-> <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></td><td class="doc"><p>Temporary Credential with oauth_verifier</p></td></tr><tr><td class="src">-> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></td><td class="doc"><p>Token Credential (Access Token & Secret)</p></td></tr></table></div><div class="doc"><p>Get Access token via the proxy.</p></div></div><div class="top"><p class="src"><a id="v:getTokenCredentialProxy" class="def">getTokenCredentialProxy</a> <a href="src/Web-Authenticate-OAuth-IO.html#getTokenCredentialProxy" class="link">Source</a> <a href="#v:getTokenCredentialProxy" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Proxy">Proxy</a></td><td class="doc"><p>Proxy</p></td></tr><tr><td class="src">-> <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a></td><td class="doc"><p>OAuth Application</p></td></tr><tr><td class="src">-> <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></td><td class="doc"><p>Temporary Credential with oauth_verifier</p></td></tr><tr><td class="src">-> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></td><td class="doc"><p>Token Credential (Access Token & Secret)</p></td></tr></table></div><div class="doc"><p>Get Access token via the proxy.</p></div></div><div class="top"><p class="src"><a id="v:getAccessToken-39-" class="def">getAccessToken'</a> <a href="src/Web-Authenticate-OAuth-IO.html#getAccessToken%27" class="link">Source</a> <a href="#v:getAccessToken-39-" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m</td><td class="doc empty"> </td></tr><tr><td class="src">=> (<a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Request">Request</a> -> <a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Request">Request</a>)</td><td class="doc"><p>Request Hook</p></td></tr><tr><td class="src">-> <a href="Web-Authenticate-OAuth.html#t:OAuth">OAuth</a></td><td class="doc"><p>OAuth Application</p></td></tr><tr><td class="src">-> <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></td><td class="doc"><p>Temporary Credential with oauth_verifier</p></td></tr><tr><td class="src">-> m <a href="Web-Authenticate-OAuth.html#t:Credential">Credential</a></td><td class="doc"><p>Token Credential (Access Token & Secret)</p></td></tr></table></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>
|