This file is indexed.

/usr/share/doc/libghc-yesod-auth-oauth2-doc/html/Yesod-Auth-OAuth2.html is in libghc-yesod-auth-oauth2-doc 0.3.0-1build3.

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
6
7
8
9
<!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>Yesod.Auth.OAuth2</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_Yesod-Auth-OAuth2.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Yesod-Auth-OAuth2.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">yesod-auth-oauth2-0.3.0: OAuth 2.0 authentication plugins</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">Yesod.Auth.OAuth2</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Generic OAuth2 plugin for Yesod</p><ul><li>See Yesod.Auth.OAuth2.GitHub for example usage.</li></ul></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"><a href="#v:authOAuth2">authOAuth2</a> :: <a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:YesodAuth">YesodAuth</a> m =&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2-Internal.html#t:OAuth2">OAuth2</a> -&gt; (<a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Manager">Manager</a> -&gt; <a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2-Internal.html#t:OAuth2Token">OAuth2Token</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:Creds">Creds</a> m)) -&gt; <a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:AuthPlugin">AuthPlugin</a> m</li><li class="src short"><a href="#v:authOAuth2Widget">authOAuth2Widget</a> :: <a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:YesodAuth">YesodAuth</a> m =&gt; <a href="file:///usr/share/doc/libghc-yesod-core-doc/html/Yesod-Core-Types.html#t:WidgetT">WidgetT</a> m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2-Internal.html#t:OAuth2">OAuth2</a> -&gt; (<a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Manager">Manager</a> -&gt; <a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2-Internal.html#t:OAuth2Token">OAuth2Token</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:Creds">Creds</a> m)) -&gt; <a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:AuthPlugin">AuthPlugin</a> m</li><li class="src short"><a href="#v:oauth2Url">oauth2Url</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:AuthRoute">AuthRoute</a></li><li class="src short"><a href="#v:fromProfileURL">fromProfileURL</a> :: <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a =&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-uri-bytestring-doc/html/URI-ByteString.html#t:URI">URI</a> -&gt; (a -&gt; <a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:Creds">Creds</a> m) -&gt; <a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Manager">Manager</a> -&gt; <a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2-Internal.html#t:OAuth2Token">OAuth2Token</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:Creds">Creds</a> m)</li><li class="src short"><span class="keyword">data</span> <a href="#t:YesodOAuth2Exception">YesodOAuth2Exception</a> = <a href="#v:InvalidProfileResponse">InvalidProfileResponse</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:invalidProfileResponse">invalidProfileResponse</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2-Internal.html#t:OAuth2Error">OAuth2Error</a> <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:Value">Value</a> -&gt; <a href="Yesod-Auth-OAuth2.html#t:YesodOAuth2Exception">YesodOAuth2Exception</a></li><li class="src short"><a href="#v:scopeParam">scopeParam</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>] -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>)</li><li class="src short"><a href="#v:maybeExtra">maybeExtra</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <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-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [(<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>)]</li><li class="src short">module <a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2.html">Network.OAuth.OAuth2</a></li><li class="src short">module <a href="file:///usr/share/doc/libghc-uri-bytestring-doc/html/URI-ByteString.html">URI.ByteString</a></li><li class="src short">module <a href="URI-ByteString-Extension.html">URI.ByteString.Extension</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:authOAuth2" class="def">authOAuth2</a> <a href="src/Yesod-Auth-OAuth2.html#authOAuth2" class="link">Source</a> <a href="#v:authOAuth2" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:YesodAuth">YesodAuth</a> m</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></td><td class="doc"><p>Service name</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2-Internal.html#t:OAuth2">OAuth2</a></td><td class="doc"><p>Service details</p></td></tr><tr><td class="src">-&gt; (<a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Manager">Manager</a> -&gt; <a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2-Internal.html#t:OAuth2Token">OAuth2Token</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:Creds">Creds</a> m))</td><td class="doc"><p>This function defines how to take an <code><code><a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2-Internal.html#t:OAuth2Token">OAuth2Token</a></code></code> and
   retrieve additional information about the user, to be set in the
   session as <code><code><a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:Creds">Creds</a></code></code>. Usually this means a second authorized
   request to <code>api/me.json</code>.</p><p>See <code><code><a href="Yesod-Auth-OAuth2.html#v:fromProfileURL">fromProfileURL</a></code></code> for an example.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:AuthPlugin">AuthPlugin</a> m</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Create an <code><code><a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:AuthPlugin">AuthPlugin</a></code></code> for the given OAuth2 provider</p><p>Presents a generic <code>&quot;Login via name&quot;</code> link</p></div></div><div class="top"><p class="src"><a id="v:authOAuth2Widget" class="def">authOAuth2Widget</a> :: <a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:YesodAuth">YesodAuth</a> m =&gt; <a href="file:///usr/share/doc/libghc-yesod-core-doc/html/Yesod-Core-Types.html#t:WidgetT">WidgetT</a> m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2-Internal.html#t:OAuth2">OAuth2</a> -&gt; (<a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Manager">Manager</a> -&gt; <a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2-Internal.html#t:OAuth2Token">OAuth2Token</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:Creds">Creds</a> m)) -&gt; <a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:AuthPlugin">AuthPlugin</a> m <a href="src/Yesod-Auth-OAuth2.html#authOAuth2Widget" class="link">Source</a> <a href="#v:authOAuth2Widget" class="selflink">#</a></p><div class="doc"><p>Create an <code><code><a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:AuthPlugin">AuthPlugin</a></code></code> for the given OAuth2 provider</p><p>Allows passing a custom widget for the login link. See <code><code>oauth2Eve</code></code> for an
 example.</p></div></div><div class="top"><p class="src"><a id="v:oauth2Url" class="def">oauth2Url</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:AuthRoute">AuthRoute</a> <a href="src/Yesod-Auth-OAuth2.html#oauth2Url" class="link">Source</a> <a href="#v:oauth2Url" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:fromProfileURL" class="def">fromProfileURL</a> <a href="src/Yesod-Auth-OAuth2.html#fromProfileURL" class="link">Source</a> <a href="#v:fromProfileURL" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></td><td class="doc"><p>Plugin name</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/libghc-uri-bytestring-doc/html/URI-ByteString.html#t:URI">URI</a></td><td class="doc"><p>Profile URI</p></td></tr><tr><td class="src">-&gt; (a -&gt; <a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:Creds">Creds</a> m)</td><td class="doc"><p>Conversion to Creds</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/libghc-http-client-doc/html/Network-HTTP-Client.html#t:Manager">Manager</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2-Internal.html#t:OAuth2Token">OAuth2Token</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/libghc-yesod-auth-doc/html/Yesod-Auth.html#t:Creds">Creds</a> m)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Handle the common case of fetching Profile information from a JSON endpoint</p><p>Throws <code><code><a href="Yesod-Auth-OAuth2.html#v:InvalidProfileResponse">InvalidProfileResponse</a></code></code> if JSON parsing fails</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:YesodOAuth2Exception" class="def">YesodOAuth2Exception</a> <a href="src/Yesod-Auth-OAuth2.html#YesodOAuth2Exception" class="link">Source</a> <a href="#t:YesodOAuth2Exception" class="selflink">#</a></p><div class="doc"><p>Provider name and Aeson parse error</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:InvalidProfileResponse" class="def">InvalidProfileResponse</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:YesodOAuth2Exception" class="caption collapser" onclick="toggleSection('i:YesodOAuth2Exception')">Instances</p><div id="section.i:YesodOAuth2Exception" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:YesodOAuth2Exception:Show:1" class="instance expander" onclick="toggleSection('i:id:YesodOAuth2Exception:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Yesod-Auth-OAuth2.html#t:YesodOAuth2Exception">YesodOAuth2Exception</a></span> <a href="src/Yesod-Auth-OAuth2.html#line-53" class="link">Source</a> <a href="#t:YesodOAuth2Exception" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:YesodOAuth2Exception:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Yesod-Auth-OAuth2.html#t:YesodOAuth2Exception">YesodOAuth2Exception</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Yesod-Auth-OAuth2.html#t:YesodOAuth2Exception">YesodOAuth2Exception</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Yesod-Auth-OAuth2.html#t:YesodOAuth2Exception">YesodOAuth2Exception</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:YesodOAuth2Exception:Exception:2" class="instance expander" onclick="toggleSection('i:id:YesodOAuth2Exception:Exception:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Exception-Base.html#t:Exception">Exception</a> <a href="Yesod-Auth-OAuth2.html#t:YesodOAuth2Exception">YesodOAuth2Exception</a></span> <a href="src/Yesod-Auth-OAuth2.html#line-55" class="link">Source</a> <a href="#t:YesodOAuth2Exception" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:YesodOAuth2Exception:Exception:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toException">toException</a> :: <a href="Yesod-Auth-OAuth2.html#t:YesodOAuth2Exception">YesodOAuth2Exception</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Exception-Base.html#t:SomeException">SomeException</a> <a href="#v:toException" class="selflink">#</a></p><p class="src"><a href="#v:fromException">fromException</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Exception-Base.html#t:SomeException">SomeException</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Yesod-Auth-OAuth2.html#t:YesodOAuth2Exception">YesodOAuth2Exception</a> <a href="#v:fromException" class="selflink">#</a></p><p class="src"><a href="#v:displayException">displayException</a> :: <a href="Yesod-Auth-OAuth2.html#t:YesodOAuth2Exception">YesodOAuth2Exception</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:displayException" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:invalidProfileResponse" class="def">invalidProfileResponse</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2-Internal.html#t:OAuth2Error">OAuth2Error</a> <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:Value">Value</a> -&gt; <a href="Yesod-Auth-OAuth2.html#t:YesodOAuth2Exception">YesodOAuth2Exception</a> <a href="src/Yesod-Auth-OAuth2.html#invalidProfileResponse" class="link">Source</a> <a href="#v:invalidProfileResponse" class="selflink">#</a></p><div class="doc"><p>Construct an <code><code><a href="Yesod-Auth-OAuth2.html#v:InvalidProfileResponse">InvalidProfileResponse</a></code></code> exception from an <code><code><a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2-Internal.html#t:OAuth2Error">OAuth2Error</a></code></code></p><p>This forces the <code>e</code> in <code><code><a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2-Internal.html#t:OAuth2Error">OAuth2Error</a></code> e</code> to parse as a JSON <code><code><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:Value">Value</a></code></code> which
 is then re-encoded for the exception message.</p></div></div><div class="top"><p class="src"><a id="v:scopeParam" class="def">scopeParam</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>] -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>) <a href="src/Yesod-Auth-OAuth2.html#scopeParam" class="link">Source</a> <a href="#v:scopeParam" class="selflink">#</a></p><div class="doc"><p>A tuple of <code>scope</code> and the given scopes separated by a delimiter</p></div></div><div class="top"><p class="src"><a id="v:maybeExtra" class="def">maybeExtra</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <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-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [(<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>)] <a href="src/Yesod-Auth-OAuth2.html#maybeExtra" class="link">Source</a> <a href="#v:maybeExtra" class="selflink">#</a></p><div class="doc"><p>A helper for providing an optional value to credsExtra</p></div></div><div class="top"><p class="src">module <a href="file:///usr/share/doc/libghc-hoauth2-doc/html/Network-OAuth-OAuth2.html">Network.OAuth.OAuth2</a></p></div><div class="top"><p class="src">module <a href="file:///usr/share/doc/libghc-uri-bytestring-doc/html/URI-ByteString.html">URI.ByteString</a></p></div><div class="top"><p class="src">module <a href="URI-ByteString-Extension.html">URI.ByteString.Extension</a></p></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>