Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data OpenIDConfiguration = OpenIDConfiguration {}
- data OpenIDConfigurationUris = OpenIDConfigurationUris {
- authorizationUri :: URI
- tokenUri :: URI
- userinfoUri :: URI
- jwksUri :: URI
- wellknownUrl :: Text
- fetchWellKnown :: MonadIO m => Text -> ExceptT Text m OpenIDConfiguration
- fetchWellKnownUris :: MonadIO m => Text -> ExceptT Text m OpenIDConfigurationUris
- handleWellKnownResponse :: Response ByteString -> Either Text OpenIDConfiguration
Documentation
data OpenIDConfiguration Source #
Slim OpenID Configuration TODO: could add more fields to be complete.
OpenIDConfiguration | |
|
Instances
data OpenIDConfigurationUris Source #
OpenIDConfigurationUris | |
|
Instances
Generic OpenIDConfigurationUris Source # | |
Defined in Network.OIDC.WellKnown type Rep OpenIDConfigurationUris :: Type -> Type # | |
type Rep OpenIDConfigurationUris Source # | |
Defined in Network.OIDC.WellKnown type Rep OpenIDConfigurationUris = D1 ('MetaData "OpenIDConfigurationUris" "Network.OIDC.WellKnown" "hoauth2-providers-0.1-9gjsI0wLB70AuFkhCq8AT2" 'False) (C1 ('MetaCons "OpenIDConfigurationUris" 'PrefixI 'True) ((S1 ('MetaSel ('Just "authorizationUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URI) :*: S1 ('MetaSel ('Just "tokenUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URI)) :*: (S1 ('MetaSel ('Just "userinfoUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URI) :*: S1 ('MetaSel ('Just "jwksUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URI)))) |
wellknownUrl :: Text Source #
:: MonadIO m | |
=> Text | Domain |
-> ExceptT Text m OpenIDConfiguration |
fetchWellKnownUris :: MonadIO m => Text -> ExceptT Text m OpenIDConfigurationUris Source #