keycloak-hs-3.0.2
Safe HaskellSafe-Inferred
LanguageHaskell2010

Keycloak.Config

Synopsis

Documentation

readConfig :: FilePath -> IO AdapterConfig Source #

Read a configuration file. This file can be found in Keycloak, in the Client Installation tab (JSON format).

configureKeycloak :: FilePath -> IO KCConfig Source #

Configure this library by reading the adapter JSON file, and getting signing keys from Keycloak. The returned config can be used with runKeycloak to run any function living in the Keycloak Monad.