on develop help sign in
Reordering haddock exports
521f516Brendan Hay
gogol/src/Network/Google.hs−1
@@ -105,7 +105,6 @@ import qualified Control.Monad.Writer.Lazy as LW
105import qualified Control.Monad.Writer.Strict as W
105import qualified Control.Monad.Writer.Strict as W
106import Network.Google.Auth
106import Network.Google.Auth
107import Network.Google.Env
107import Network.Google.Env
108−import Network.Google.Internal.Auth
109import Network.Google.Internal.Body
108import Network.Google.Internal.Body
110import Network.Google.Internal.HTTP
109import Network.Google.Internal.HTTP
111import Network.Google.Internal.Logger
110import Network.Google.Internal.Logger
gogol/src/Network/Google/Auth.hs+46−69
@@ -17,75 +17,52 @@
17--
17--
18-- Explicitly specify your Google credentials, or retrieve them
18-- Explicitly specify your Google credentials, or retrieve them
19-- from the underlying OS.
19-- from the underlying OS.
20−module Network.Google.Auth where
20+module Network.Google.Auth
21− -- (
21+ (
22− -- -- * Credentials
22+ -- * Credentials
23− -- Credentials (..)
23+ Credentials (..)
24−
24+
25− -- -- ** Discovery
25+ -- ** Discovery
26− -- , discover
26+ , discover
27− -- , fromFile
27+ , fromFile
28− -- , fromFilePath
28+ , fromFilePath
29− -- , fromJSONCredentials
29+ , fromJSONCredentials
30−
30+
31− -- -- ** Thread-safe Storage
32− -- , Auth (..)
33− -- , Store
34− -- , emptyStore
35−
36− -- -- ** Authorizing Requests
31+ -- ** Authorizing Requests
37− -- , authorize
32+ , authorize
38−
33+
39− -- -- ** Constructing Callback URLs
34+ -- ** Constructing Callback URLs
40− -- , formURL
35+ , formURL
41− -- , redirectURI
36+
42− -- , accountsURL
37+ -- ** Thread-safe Storage
43−
38+ , Auth (..)
39+ , Store
40+ , initStore
41+ , exchange
42+ , refresh
43+
44− -- -- ** Default Constants
44+ -- ** Default Constants
45− -- -- *** Google Compute Engine
46− -- , checkGCEVar
45+ , checkGCEVar
47−
48− -- -- *** Cloud SDK
49− -- , cloudSDKConfigDir
46+ , cloudSDKConfigDir
50− -- , cloudSDKConfigPath
51−
52− -- -- *** Application Default Credentials
53− -- , defaultCredentialsFile
47+ , defaultCredentialsFile
54− -- , defaultCredentialsPath
48+
55−
56− -- -- ** Handling Errors
49+ -- ** Handling Errors
57− -- , AsAuthError (..)
50+ , AsAuthError (..)
58− -- , AuthError (..)
51+ , AuthError (..)
59−
52+
60− -- -- * Credential Types
61− -- , ServiceAccount (..)
62− -- , AuthorizedUser (..)
63−
64− -- -- * OAuth Types
53+ -- * OAuth Types
65− -- , OAuthClient (..)
54+ , OAuthClient (..)
66− -- , OAuthToken (..)
55+ , OAuthToken (..)
67− -- , OAuthCode (..)
56+ , OAuthCode (..)
68− -- , OAuthScope (..)
57+ , OAuthScope (..)
69−
58+
70− -- -- * Re-exported Types
59+ -- * Re-exported Types
71− -- , AccessToken (..)
60+ , AccessToken (..)
72− -- , RefreshToken (..)
61+ , RefreshToken (..)
73− -- , Secret (..)
62+ , Secret (..)
74− -- , ServiceId (..)
63+ , ServiceId (..)
75− -- , ClientId (..)
64+ , ClientId (..)
76−
77− -- -- * Exchange and Refresh Internals
78− -- , getToken
79− -- , validateToken
80−
81− -- , exchange
82− -- , exchangeCode
83−
84− -- , refresh
85− -- , refreshMetadata
86− -- , refreshToken
87− -- , refreshAssertion
88− -- ) where
65+ ) where
89
66
90import Control.Applicative
67import Control.Applicative
91import Control.Concurrent
68import Control.Concurrent