module SAML2.Bindings.General where
import Data.ByteString (ByteString)
import Data.String (IsString(fromString))
type RelayState = ByteString
protocolParameter :: IsString a => Bool -> a
protocolParameter :: forall a. IsString a => Bool -> a
protocolParameter Bool
False = String -> a
forall a. IsString a => String -> a
fromString String
"SAMLRequest"
protocolParameter Bool
True = String -> a
forall a. IsString a => String -> a
fromString String
"SAMLResponse"
relayStateParameter :: IsString a => a
relayStateParameter :: forall a. IsString a => a
relayStateParameter = String -> a
forall a. IsString a => String -> a
fromString String
"RelayState"