authenticate-oauth 1.0.0 → 1.0.0.1
raw patch · 2 files changed
+12/−13 lines, 2 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Web.Authenticate.OAuth: oauthAccessTokenUri :: OAuth -> String
+ Web.Authenticate.OAuth: oauthAuthorizeUri :: OAuth -> String
+ Web.Authenticate.OAuth: oauthCallback :: OAuth -> Maybe ByteString
+ Web.Authenticate.OAuth: oauthConsumerKey :: OAuth -> ByteString
+ Web.Authenticate.OAuth: oauthConsumerSecret :: OAuth -> ByteString
+ Web.Authenticate.OAuth: oauthRealm :: OAuth -> Maybe ByteString
+ Web.Authenticate.OAuth: oauthRequestUri :: OAuth -> String
+ Web.Authenticate.OAuth: oauthServerName :: OAuth -> String
+ Web.Authenticate.OAuth: oauthSignatureMethod :: OAuth -> SignMethod
Files
- Web/Authenticate/OAuth.hs +11/−12
- authenticate-oauth.cabal +1/−1
Web/Authenticate/OAuth.hs view
@@ -2,10 +2,10 @@ {-# OPTIONS_GHC -Wall -fno-warn-orphans #-} module Web.Authenticate.OAuth ( -- * Data types- OAuth(oauthServerName, oauthRequestUri, oauthAccessTokenUri, oauthAuthorizeUri,- oauthSignatureMethod, oauthConsumerKey, oauthConsumerSecret, oauthCallback,- oauthRealm),- def, newOAuth, SignMethod(..), Credential(..), OAuthException(..),+ OAuth, def, newOAuth, oauthServerName, oauthRequestUri, oauthAccessTokenUri,+ oauthAuthorizeUri, oauthSignatureMethod, oauthConsumerKey,+ oauthConsumerSecret, oauthCallback, oauthRealm,+ SignMethod(..), Credential(..), OAuthException(..), -- * Operations for credentials newCredential, emptyCredential, insert, delete, inserts, -- * Signature@@ -53,19 +53,18 @@ -- Instead, you should use the 'def' method or 'newOAuth' function to retrieve a default instance, -- and then use the records below to make modifications. -- This approach allows us to add configuration options without breaking backwards compatibility.-data OAuth = OAuth { oauthServerName :: String- -- ^ Service name (default: @""@)+data OAuth = OAuth { oauthServerName :: String -- ^ Service name (default: @\"\"@) , oauthRequestUri :: String- -- ^ URI to request temporary credential (default: @""@).- -- You MUST specify if you use 'getTemporaryCredential\'', 'getTemporaryCredentialProxy'+ -- ^ URI to request temporary credential (default: @\"\"@).+ -- You MUST specify if you use 'getTemporaryCredential'', 'getTemporaryCredentialProxy' -- or 'getTemporaryCredential'; otherwise you can just leave this empty. , oauthAccessTokenUri :: String- -- ^ Uri to obtain access token (default: @""@).- -- You MUST specify if you use 'getAcessToken' or 'getAccessToken\'';+ -- ^ Uri to obtain access token (default: @\"\"@).+ -- You MUST specify if you use 'getAcessToken' or 'getAccessToken''; -- otherwise you can just leave this empty. , oauthAuthorizeUri :: String- -- ^ Uri to authorize (default: @""@).- -- You MUST specify if you use 'authorizeUrl' or 'authorizeUrl\'';+ -- ^ Uri to authorize (default: @\"\"@).+ -- You MUST specify if you use 'authorizeUrl' or 'authorizeUrl''; -- otherwise you can just leave this empty. , oauthSignatureMethod :: SignMethod -- ^ Signature Method (default: 'HMACSHA1')
authenticate-oauth.cabal view
@@ -1,5 +1,5 @@ name: authenticate-oauth-version: 1.0.0+version: 1.0.0.1 license: BSD3 license-file: LICENSE author: Hiromi Ishii