Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- readConfig :: FilePath -> IO AdapterConfig
- configureKeycloak :: FilePath -> IO KCConfig
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.