Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type HasScimClient tag = (AuthTypes tag, ToJSON (UserExtra tag), FromJSON (UserExtra tag), FromJSON (UserId tag), FromJSON (GroupId tag), ToHttpApiData (AuthData tag), ToHttpApiData (UserId tag), ToHttpApiData (GroupId tag))
- spConfig :: forall tag. HasScimClient tag => ClientEnv -> IO Configuration
- getSchemas :: forall tag. HasScimClient tag => ClientEnv -> IO (ListResponse Value)
- schema :: forall tag. HasScimClient tag => ClientEnv -> Text -> IO Value
- resourceTypes :: forall tag. HasScimClient tag => ClientEnv -> IO (ListResponse Resource)
- scimClients :: HasScimClient tag => ClientEnv -> Site tag (AsClientT IO)
- getUsers :: HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> Maybe Filter -> IO (ListResponse (StoredUser tag))
- getUser :: HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> UserId tag -> IO (StoredUser tag)
- postUser :: HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> User tag -> IO (StoredUser tag)
- patchUser :: HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> UserId tag -> PatchOp tag -> IO (StoredUser tag)
- deleteUser :: forall tag. HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> UserId tag -> IO NoContent
- getGroups :: ClientEnv -> Maybe (AuthData tag) -> IO (ListResponse (StoredGroup tag))
- getGroup :: ClientEnv -> Maybe (AuthData tag) -> GroupId tag -> IO (StoredGroup tag)
- postGroup :: ClientEnv -> Maybe (AuthData tag) -> Group -> IO (StoredGroup tag)
- putGroup :: ClientEnv -> Maybe (AuthData tag) -> GroupId tag -> IO (StoredGroup tag)
- patchGroup :: ClientEnv -> Maybe (AuthData tag) -> GroupId tag -> IO (StoredGroup tag)
- deleteGroup :: ClientEnv -> Maybe (AuthData tag) -> GroupId tag -> IO DeleteNoContent
Documentation
type HasScimClient tag = (AuthTypes tag, ToJSON (UserExtra tag), FromJSON (UserExtra tag), FromJSON (UserId tag), FromJSON (GroupId tag), ToHttpApiData (AuthData tag), ToHttpApiData (UserId tag), ToHttpApiData (GroupId tag)) Source #
config
spConfig :: forall tag. HasScimClient tag => ClientEnv -> IO Configuration Source #
getSchemas :: forall tag. HasScimClient tag => ClientEnv -> IO (ListResponse Value) Source #
resourceTypes :: forall tag. HasScimClient tag => ClientEnv -> IO (ListResponse Resource) Source #
user
scimClients :: HasScimClient tag => ClientEnv -> Site tag (AsClientT IO) Source #
getUsers :: HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> Maybe Filter -> IO (ListResponse (StoredUser tag)) Source #
getUser :: HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> UserId tag -> IO (StoredUser tag) Source #
postUser :: HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> User tag -> IO (StoredUser tag) Source #
patchUser :: HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> UserId tag -> PatchOp tag -> IO (StoredUser tag) Source #
deleteUser :: forall tag. HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> UserId tag -> IO NoContent Source #
group
getGroups :: ClientEnv -> Maybe (AuthData tag) -> IO (ListResponse (StoredGroup tag)) Source #
patchGroup :: ClientEnv -> Maybe (AuthData tag) -> GroupId tag -> IO (StoredGroup tag) Source #
deleteGroup :: ClientEnv -> Maybe (AuthData tag) -> GroupId tag -> IO DeleteNoContent Source #