Maintainer | krdlab@gmail.com |
---|---|
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- type ScopeValue = Text
- openId :: ScopeValue
- profile :: ScopeValue
- email :: ScopeValue
- address :: ScopeValue
- phone :: ScopeValue
- offlineAccess :: ScopeValue
- type Scope = [ScopeValue]
- type State = ByteString
- type Nonce = ByteString
- type Parameters = [(ByteString, Maybe ByteString)]
- type Code = ByteString
- type IssuerLocation = Text
- data OpenIdException
- data SessionStore m = SessionStore {
- sessionStoreGenerate :: m ByteString
- sessionStoreSave :: State -> Nonce -> m ()
- sessionStoreGet :: m (Maybe State, Maybe Nonce)
- sessionStoreDelete :: m ()
Documentation
type ScopeValue = Text Source #
openId :: ScopeValue Source #
profile :: ScopeValue Source #
email :: ScopeValue Source #
address :: ScopeValue Source #
phone :: ScopeValue Source #
type Scope = [ScopeValue] Source #
type State = ByteString Source #
type Nonce = ByteString Source #
type Parameters = [(ByteString, Maybe ByteString)] Source #
type Code = ByteString Source #
type IssuerLocation = Text Source #
data OpenIdException Source #
DiscoveryException Text | |
InternalHttpException HttpException | |
JsonException Text | |
UnsecuredJwt ByteString | |
JwtExceptoin JwtError | |
ValidationException Text |
Instances
Show OpenIdException Source # | |
Defined in Web.OIDC.Client.Types showsPrec :: Int -> OpenIdException -> ShowS # show :: OpenIdException -> String # showList :: [OpenIdException] -> ShowS # | |
Exception OpenIdException Source # | |
Defined in Web.OIDC.Client.Types |
data SessionStore m Source #
Manages state and nonce.
(Maybe OIDC
should have them)
SessionStore | |
|