packages feed

authenticate-oauth 1.3.0.2 → 1.4.0.0

raw patch · 2 files changed

+9/−13 lines, 2 filesdep +crypto-pubkey-typesdep ~RSAdep ~blaze-builder-conduitdep ~conduitPVP ok

version bump matches the API change (PVP)

Dependencies added: crypto-pubkey-types

Dependency ranges changed: RSA, blaze-builder-conduit, conduit, http-conduit

API changes (from Hackage documentation)

- Web.Authenticate.OAuth: instance Data PrivateKey
- Web.Authenticate.OAuth: instance Eq PrivateKey
- Web.Authenticate.OAuth: instance Read PrivateKey
- Web.Authenticate.OAuth: instance Typeable PrivateKey

Files

Web/Authenticate/OAuth.hs view
@@ -34,7 +34,8 @@ import Data.ByteString.Base64 import Data.Time import Numeric-import Codec.Crypto.RSA (rsassa_pkcs1_v1_5_sign, ha_SHA1, PrivateKey(..))+import Codec.Crypto.RSA (rsassa_pkcs1_v1_5_sign, ha_SHA1)+import Crypto.Types.PubKey.RSA (PrivateKey(..)) import Network.HTTP.Types (Header) import Blaze.ByteString.Builder (toByteString) import Control.Monad.IO.Class (MonadIO)@@ -65,7 +66,7 @@                    --   otherwise you can just leave this empty.                    , oauthAuthorizeUri    :: String                    -- ^ Uri to authorize (default: @\"\"@).-                   --   You MUST specify if you use 'authorizeUrl' or 'authorizeUrl'';+                   --   You MUST specify if you use 'authorizeUrl' or 'authorizeZUrl'';                    --   otherwise you can just leave this empty.                     , oauthSignatureMethod :: SignMethod                    -- ^ Signature Method (default: 'HMACSHA1')@@ -108,13 +109,7 @@                 | HMACSHA1                 | RSASHA1 PrivateKey                   deriving (Show, Eq, Ord, Read, Data, Typeable)--deriving instance Typeable PrivateKey-deriving instance Data PrivateKey-deriving instance Read PrivateKey deriving instance Ord PrivateKey-deriving instance Eq PrivateKey- -- | Data type for redential. data Credential = Credential { unCredential :: [(BS.ByteString, BS.ByteString)] }                   deriving (Show, Eq, Ord, Read, Data, Typeable)
authenticate-oauth.cabal view
@@ -1,6 +1,6 @@  name:            authenticate-oauth-version:         1.3.0.2+version:         1.4.0.0 license:         BSD3 license-file:    LICENSE author:          Hiromi Ishii@@ -15,10 +15,11 @@  library     build-depends:   base                          >= 4        && < 5-                   , http-conduit                  >= 1.4      && < 1.5+                   , http-conduit                  >= 1.4      && < 1.6                    , transformers                  >= 0.1      && < 0.4                    , bytestring                    >= 0.9-                   , RSA                           >= 1.0      && < 1.1+                   , crypto-pubkey-types           >= 0.1      && < 0.2+                   , RSA                           >= 1.2      && < 1.3                    , time                    , data-default                  >= 0.3      && < 0.5                    , base64-bytestring             >= 0.1      && < 0.2@@ -26,9 +27,9 @@                    , random                    , http-types                    >= 0.6      && < 0.7                    , blaze-builder-                   , conduit                       >= 0.4      && < 0.5+                   , conduit                       >= 0.4      && < 0.6                    , resourcet                     >= 0.3      && < 0.4-                   , blaze-builder-conduit         >= 0.4      && < 0.5+                   , blaze-builder-conduit         >= 0.4      && < 0.6                    , monad-control                 >= 0.3      && < 0.4     exposed-modules: Web.Authenticate.OAuth, Web.Authenticate.OAuth.IO     ghc-options:     -Wall