Safe Haskell | None |
---|---|
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)
- putUser :: HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> UserId 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 :: forall tag. HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> IO (ListResponse (StoredGroup tag))
- getGroup :: forall tag. HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> GroupId tag -> IO (StoredGroup tag)
- postGroup :: forall tag. HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> Group -> IO (StoredGroup tag)
- putGroup :: forall tag. HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> GroupId tag -> IO (StoredGroup tag)
- patchGroup :: forall tag. HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> GroupId tag -> IO (StoredGroup tag)
- deleteGroup :: forall tag. HasScimClient tag => 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 #
putUser :: HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> UserId 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 :: forall tag. HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> IO (ListResponse (StoredGroup tag)) Source #
getGroup :: forall tag. HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> GroupId tag -> IO (StoredGroup tag) Source #
postGroup :: forall tag. HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> Group -> IO (StoredGroup tag) Source #
putGroup :: forall tag. HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> GroupId tag -> IO (StoredGroup tag) Source #
patchGroup :: forall tag. HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> GroupId tag -> IO (StoredGroup tag) Source #
deleteGroup :: forall tag. HasScimClient tag => ClientEnv -> Maybe (AuthData tag) -> GroupId tag -> IO DeleteNoContent Source #