Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
A "default" module for types used in Spar, unless there's a better / more specific place for them.
Synopsis
- type AReqId = ID AuthnRequest
- type AssId = ID Assertion
- data VerdictFormat
- mkVerdictGrantedFormatMobile :: MonadError String m => URI -> SetCookie -> UserId -> m URI
- mkVerdictDeniedFormatMobile :: MonadError String m => URI -> Text -> m URI
- substituteVar :: Text -> Text -> Text -> Text
- substituteVar' :: Text -> Text -> Text -> Text
- newtype TTL (tablename :: Symbol) = TTL {}
- showTTL :: KnownSymbol a => TTL a -> String
- data TTLError
- ttlToNominalDiffTime :: TTL a -> NominalDiffTime
- data SsoSettings = SsoSettings {
- defaultSsoCode :: !(Maybe IdPId)
Documentation
type AReqId = ID AuthnRequest Source #
data VerdictFormat Source #
Clients can request different ways of receiving the final AccessVerdict
when fetching their
AuthnRequest
. Web-based clients want an html page, mobile clients want to set two URIs for the
two resp. AccessVerdict
constructors. This format is stored in cassandra under the request id
so that the verdict handler can act on it.
Instances
mkVerdictGrantedFormatMobile :: MonadError String m => URI -> SetCookie -> UserId -> m URI Source #
mkVerdictDeniedFormatMobile :: MonadError String m => URI -> Text -> m URI Source #
newtype TTL (tablename :: Symbol) Source #
(seconds)
Instances
FromJSON (TTL a) Source # | |
Num (TTL tablename) Source # | |
Defined in Wire.API.User.Saml (+) :: TTL tablename -> TTL tablename -> TTL tablename # (-) :: TTL tablename -> TTL tablename -> TTL tablename # (*) :: TTL tablename -> TTL tablename -> TTL tablename # negate :: TTL tablename -> TTL tablename # abs :: TTL tablename -> TTL tablename # signum :: TTL tablename -> TTL tablename # fromInteger :: Integer -> TTL tablename # | |
Show (TTL tablename) Source # | |
Eq (TTL tablename) Source # | |
Ord (TTL tablename) Source # | |
Defined in Wire.API.User.Saml compare :: TTL tablename -> TTL tablename -> Ordering # (<) :: TTL tablename -> TTL tablename -> Bool # (<=) :: TTL tablename -> TTL tablename -> Bool # (>) :: TTL tablename -> TTL tablename -> Bool # (>=) :: TTL tablename -> TTL tablename -> Bool # |
ttlToNominalDiffTime :: TTL a -> NominalDiffTime Source #
data SsoSettings Source #
SsoSettings | |
|