keycloak-hs-3.0.2
Safe HaskellSafe-Inferred
LanguageHaskell2010

Keycloak.Utils

Contents

Synopsis

Documentation

keycloakPost :: (Postable dat, Show dat, MonadIO m) => Path -> dat -> JWT -> KeycloakT m ByteString Source #

Perform post to Keycloak.

keycloakPost' :: (Postable dat, Show dat, MonadIO m) => Path -> dat -> KeycloakT m ByteString Source #

Perform post to Keycloak, without token.

keycloakDelete :: MonadIO m => Path -> JWT -> KeycloakT m () Source #

Perform delete to Keycloak.

keycloakGet :: MonadIO m => Path -> JWT -> KeycloakT m ByteString Source #

Perform get to Keycloak on admin API

keycloakGet' :: MonadIO m => Path -> KeycloakT m ByteString Source #

Perform get to Keycloak on admin API, without token

keycloakAdminGet :: MonadIO m => Path -> JWT -> KeycloakT m ByteString Source #

Perform get to Keycloak on admin API

keycloakAdminPost :: (Postable dat, Show dat, MonadIO m) => Path -> dat -> JWT -> KeycloakT m ByteString Source #

Perform post to Keycloak.

keycloakAdminPut :: (Putable dat, Show dat, MonadIO m) => Path -> dat -> JWT -> KeycloakT m () Source #

Perform put to Keycloak.

Helpers

debug :: MonadIO m => String -> m () Source #

warn :: MonadIO m => String -> m () Source #

info :: MonadIO m => String -> m () Source #

err :: MonadIO m => String -> m () Source #