Maintainer | krdlab@gmail.com |
---|---|
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- discover :: IssuerLocation -> Manager -> IO Provider
- google :: IssuerLocation
- data Provider = Provider {
- configuration :: Configuration
- jwkSet :: [Jwk]
- data Configuration = Configuration {
- issuer :: IssuerLocation
- authorizationEndpoint :: Text
- tokenEndpoint :: Text
- userinfoEndpoint :: Maybe Text
- revocationEndpoint :: Maybe Text
- jwksUri :: Text
- responseTypesSupported :: [Text]
- subjectTypesSupported :: [Text]
- idTokenSigningAlgValuesSupported :: [JwsAlgJson]
- scopesSupported :: Maybe [ScopeValue]
- tokenEndpointAuthMethodsSupported :: Maybe [Text]
- claimsSupported :: Maybe [Text]
- generateDiscoveryUrl :: IssuerLocation -> IO Request
Documentation
:: IssuerLocation | OpenID Provider's Issuer location |
-> Manager | |
-> IO Provider |
This function obtains OpenID Provider configuration and JWK set.
OpenID Provider Issuers
OpenID Provider Configuration Information
An OpenID Provider information
Provider | |
|
data Configuration Source #
An OpenID Provider Configuration
Instances
Eq Configuration Source # | |
Defined in Web.OIDC.Client.Discovery.Provider (==) :: Configuration -> Configuration -> Bool # (/=) :: Configuration -> Configuration -> Bool # | |
Show Configuration Source # | |
Defined in Web.OIDC.Client.Discovery.Provider showsPrec :: Int -> Configuration -> ShowS # show :: Configuration -> String # showList :: [Configuration] -> ShowS # | |
FromJSON Configuration Source # | |
Defined in Web.OIDC.Client.Discovery.Provider parseJSON :: Value -> Parser Configuration # parseJSONList :: Value -> Parser [Configuration] # |