| Maintainer | krdlab@gmail.com |
|---|---|
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
Web.OIDC.Client.Discovery
Description
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
Arguments
| :: 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
Constructors
| Provider | |
Fields
| |
data Configuration Source #
An OpenID Provider Configuration
Constructors
| Configuration | |
Fields
| |
Instances
| Eq Configuration Source # | |
Defined in Web.OIDC.Client.Discovery.Provider Methods (==) :: Configuration -> Configuration -> Bool # (/=) :: Configuration -> Configuration -> Bool # | |
| Show Configuration Source # | |
Defined in Web.OIDC.Client.Discovery.Provider Methods showsPrec :: Int -> Configuration -> ShowS # show :: Configuration -> String # showList :: [Configuration] -> ShowS # | |
| FromJSON Configuration Source # | |
Defined in Web.OIDC.Client.Discovery.Provider Methods parseJSON :: Value -> Parser Configuration # parseJSONList :: Value -> Parser [Configuration] # | |