servant-auth-wordpress 1.0.0.1 → 1.0.0.2
raw patch · 2 files changed
+12/−8 lines, 2 filesdep ~servant-serverdep ~textPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: servant-server, text
API changes (from Hackage documentation)
- Servant.Auth.Wordpress: WPAuthConfig :: m CookieName -> AuthScheme -> AuthScheme -> NominalDiffTime -> (Text -> m (Maybe (UserAuthData a))) -> (WPAuthError -> m (WPAuthorization a)) -> WPAuthConfig a
+ Servant.Auth.Wordpress: WPAuthConfig :: m CookieName -> AuthScheme -> AuthScheme -> NominalDiffTime -> (Text -> m (Maybe (UserAuthData a))) -> (WPAuthError -> m (WPAuthorization a)) -> WPAuthConfig (m :: Type -> Type) a
- Servant.Auth.Wordpress: [getCookieName] :: WPAuthConfig a -> m CookieName
+ Servant.Auth.Wordpress: [getCookieName] :: WPAuthConfig (m :: Type -> Type) a -> m CookieName
- Servant.Auth.Wordpress: [getUserData] :: WPAuthConfig a -> Text -> m (Maybe (UserAuthData a))
+ Servant.Auth.Wordpress: [getUserData] :: WPAuthConfig (m :: Type -> Type) a -> Text -> m (Maybe (UserAuthData a))
- Servant.Auth.Wordpress: [loggedInScheme] :: WPAuthConfig a -> AuthScheme
+ Servant.Auth.Wordpress: [loggedInScheme] :: WPAuthConfig (m :: Type -> Type) a -> AuthScheme
- Servant.Auth.Wordpress: [nonceLifetime] :: WPAuthConfig a -> NominalDiffTime
+ Servant.Auth.Wordpress: [nonceLifetime] :: WPAuthConfig (m :: Type -> Type) a -> NominalDiffTime
- Servant.Auth.Wordpress: [nonceScheme] :: WPAuthConfig a -> AuthScheme
+ Servant.Auth.Wordpress: [nonceScheme] :: WPAuthConfig (m :: Type -> Type) a -> AuthScheme
- Servant.Auth.Wordpress: [onAuthenticationFailure] :: WPAuthConfig a -> WPAuthError -> m (WPAuthorization a)
+ Servant.Auth.Wordpress: [onAuthenticationFailure] :: WPAuthConfig (m :: Type -> Type) a -> WPAuthError -> m (WPAuthorization a)
Files
- CHANGELOG.md +4/−0
- servant-auth-wordpress.cabal +8/−8
CHANGELOG.md view
@@ -1,5 +1,9 @@ # ChangeLog +## v1.0.0.2++Support Servant v0.17 & v0.18+ ## v1.0.0.1 Support Servant v0.16
servant-auth-wordpress.cabal view
@@ -1,13 +1,13 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.31.1.+-- This file has been generated from package.yaml by hpack version 0.34.4. -- -- see: https://github.com/sol/hpack ----- hash: 037b857d32293dd0c96991bdf7ea53f7c6907f82735b00f076cb57b765fad23b+-- hash: 6b5d158f3238265112bc4e633f35fad72d06327eefabb47edafd79f0a49f14c2 name: servant-auth-wordpress-version: 1.0.0.1+version: 1.0.0.2 synopsis: Authenticate Routes Using Wordpress Cookies description: This package provides a Servant AuthHandler that validates Wordpress's @LOGGED_IN@ authentication Cookie & the @wp_rest@ Nonce, returning either an Authorized user with data or an Anonymous user, or calling an error handler. .@@ -36,10 +36,10 @@ ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints build-depends: base >=4.7 && <5- , mtl >=2 && <3- , servant-server >=0.14 && <0.17- , text >=1 && <2- , time >=1 && <2- , wai >=3 && <4+ , mtl ==2.*+ , servant-server >=0.14 && <0.19+ , text ==1.*+ , time ==1.*+ , wai ==3.* , wordpress-auth >=1 && <1.1 default-language: Haskell2010