{-# LANGUAGE DeriveDataTypeable, DeriveGeneric, FlexibleInstances, TemplateHaskell, TypeFamilies #-}
module Clckwrks.Authenticate.URL
       ( AuthURL(..)
       )
       where

import Data.Data                   (Data, Typeable)
import GHC.Generics                (Generic)
import Happstack.Authenticate.Core (AuthenticateURL(..))
import Web.Routes.TH               (derivePathInfo)

data AuthURL
  = Auth AuthenticateURL
  | Login
  | ResetPassword
  | ChangePassword
  | OpenIdRealm
  | AuthModes
  deriving (AuthURL -> AuthURL -> Bool
(AuthURL -> AuthURL -> Bool)
-> (AuthURL -> AuthURL -> Bool) -> Eq AuthURL
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AuthURL -> AuthURL -> Bool
$c/= :: AuthURL -> AuthURL -> Bool
== :: AuthURL -> AuthURL -> Bool
$c== :: AuthURL -> AuthURL -> Bool
Eq, Eq AuthURL
Eq AuthURL
-> (AuthURL -> AuthURL -> Ordering)
-> (AuthURL -> AuthURL -> Bool)
-> (AuthURL -> AuthURL -> Bool)
-> (AuthURL -> AuthURL -> Bool)
-> (AuthURL -> AuthURL -> Bool)
-> (AuthURL -> AuthURL -> AuthURL)
-> (AuthURL -> AuthURL -> AuthURL)
-> Ord AuthURL
AuthURL -> AuthURL -> Bool
AuthURL -> AuthURL -> Ordering
AuthURL -> AuthURL -> AuthURL
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: AuthURL -> AuthURL -> AuthURL
$cmin :: AuthURL -> AuthURL -> AuthURL
max :: AuthURL -> AuthURL -> AuthURL
$cmax :: AuthURL -> AuthURL -> AuthURL
>= :: AuthURL -> AuthURL -> Bool
$c>= :: AuthURL -> AuthURL -> Bool
> :: AuthURL -> AuthURL -> Bool
$c> :: AuthURL -> AuthURL -> Bool
<= :: AuthURL -> AuthURL -> Bool
$c<= :: AuthURL -> AuthURL -> Bool
< :: AuthURL -> AuthURL -> Bool
$c< :: AuthURL -> AuthURL -> Bool
compare :: AuthURL -> AuthURL -> Ordering
$ccompare :: AuthURL -> AuthURL -> Ordering
$cp1Ord :: Eq AuthURL
Ord, Typeable AuthURL
DataType
Constr
Typeable AuthURL
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> AuthURL -> c AuthURL)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c AuthURL)
-> (AuthURL -> Constr)
-> (AuthURL -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c AuthURL))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AuthURL))
-> ((forall b. Data b => b -> b) -> AuthURL -> AuthURL)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> AuthURL -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> AuthURL -> r)
-> (forall u. (forall d. Data d => d -> u) -> AuthURL -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> AuthURL -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> AuthURL -> m AuthURL)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> AuthURL -> m AuthURL)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> AuthURL -> m AuthURL)
-> Data AuthURL
AuthURL -> DataType
AuthURL -> Constr
(forall b. Data b => b -> b) -> AuthURL -> AuthURL
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> AuthURL -> c AuthURL
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c AuthURL
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u. Int -> (forall d. Data d => d -> u) -> AuthURL -> u
forall u. (forall d. Data d => d -> u) -> AuthURL -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> AuthURL -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> AuthURL -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> AuthURL -> m AuthURL
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> AuthURL -> m AuthURL
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c AuthURL
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> AuthURL -> c AuthURL
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c AuthURL)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AuthURL)
$cAuthModes :: Constr
$cOpenIdRealm :: Constr
$cChangePassword :: Constr
$cResetPassword :: Constr
$cLogin :: Constr
$cAuth :: Constr
$tAuthURL :: DataType
gmapMo :: (forall d. Data d => d -> m d) -> AuthURL -> m AuthURL
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> AuthURL -> m AuthURL
gmapMp :: (forall d. Data d => d -> m d) -> AuthURL -> m AuthURL
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> AuthURL -> m AuthURL
gmapM :: (forall d. Data d => d -> m d) -> AuthURL -> m AuthURL
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> AuthURL -> m AuthURL
gmapQi :: Int -> (forall d. Data d => d -> u) -> AuthURL -> u
$cgmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> AuthURL -> u
gmapQ :: (forall d. Data d => d -> u) -> AuthURL -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> AuthURL -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> AuthURL -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> AuthURL -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> AuthURL -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> AuthURL -> r
gmapT :: (forall b. Data b => b -> b) -> AuthURL -> AuthURL
$cgmapT :: (forall b. Data b => b -> b) -> AuthURL -> AuthURL
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AuthURL)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AuthURL)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c AuthURL)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c AuthURL)
dataTypeOf :: AuthURL -> DataType
$cdataTypeOf :: AuthURL -> DataType
toConstr :: AuthURL -> Constr
$ctoConstr :: AuthURL -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c AuthURL
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c AuthURL
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> AuthURL -> c AuthURL
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> AuthURL -> c AuthURL
$cp1Data :: Typeable AuthURL
Data, Typeable, (forall x. AuthURL -> Rep AuthURL x)
-> (forall x. Rep AuthURL x -> AuthURL) -> Generic AuthURL
forall x. Rep AuthURL x -> AuthURL
forall x. AuthURL -> Rep AuthURL x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AuthURL x -> AuthURL
$cfrom :: forall x. AuthURL -> Rep AuthURL x
Generic, ReadPrec [AuthURL]
ReadPrec AuthURL
Int -> ReadS AuthURL
ReadS [AuthURL]
(Int -> ReadS AuthURL)
-> ReadS [AuthURL]
-> ReadPrec AuthURL
-> ReadPrec [AuthURL]
-> Read AuthURL
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AuthURL]
$creadListPrec :: ReadPrec [AuthURL]
readPrec :: ReadPrec AuthURL
$creadPrec :: ReadPrec AuthURL
readList :: ReadS [AuthURL]
$creadList :: ReadS [AuthURL]
readsPrec :: Int -> ReadS AuthURL
$creadsPrec :: Int -> ReadS AuthURL
Read, Int -> AuthURL -> ShowS
[AuthURL] -> ShowS
AuthURL -> String
(Int -> AuthURL -> ShowS)
-> (AuthURL -> String) -> ([AuthURL] -> ShowS) -> Show AuthURL
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AuthURL] -> ShowS
$cshowList :: [AuthURL] -> ShowS
show :: AuthURL -> String
$cshow :: AuthURL -> String
showsPrec :: Int -> AuthURL -> ShowS
$cshowsPrec :: Int -> AuthURL -> ShowS
Show)

derivePathInfo ''AuthURL