Coffrify.Resources.Scim (Coffrify v0.9.0)

View Source

SCIM 2.0 — user provisioning tokens and audit log (Enterprise plan).

Summary

Functions

Fetch SCIM audit log entries.

Create a SCIM token. Returns the value ONCE.

List SCIM tokens.

Revoke a SCIM token.

Functions

audit(client, opts \\ [])

@spec audit(
  Coffrify.t(),
  keyword()
) :: {:ok, map()} | {:error, Exception.t()}

Fetch SCIM audit log entries.

create_token(client, opts)

@spec create_token(Coffrify.t(), map() | keyword()) ::
  {:ok, map()} | {:error, Exception.t()}

Create a SCIM token. Returns the value ONCE.

list_tokens(client)

@spec list_tokens(Coffrify.t()) :: {:ok, map()} | {:error, Exception.t()}

List SCIM tokens.

revoke_token(client, id)

@spec revoke_token(Coffrify.t(), String.t()) :: {:ok, map()} | {:error, Exception.t()}

Revoke a SCIM token.