ExScimClient.Client (ex_scim_client v0.2.2)

Copy Markdown View Source

Client configuration struct.

Examples

iex> client = ExScimClient.Client.new("https://example.com/scim/v2", "token123")
iex> client.base_url
"https://example.com/scim/v2"
iex> client.bearer
"token123"

Summary

Functions

Creates a new client configuration.

Types

t()

@type t() :: %ExScimClient.Client{
  base_url: String.t(),
  bearer: String.t(),
  default_headers: [{String.t(), String.t()}]
}

Functions

new(base_url, bearer)

@spec new(String.t(), String.t()) :: %ExScimClient.Client{
  base_url: term(),
  bearer: term(),
  default_headers: term()
}

Creates a new client configuration.

Parameters

  • base_url - Provider base URL
  • bearer - Bearer token for authentication

Examples

iex> client = ExScimClient.Client.new("https://example.com/scim/v2", "abc123")
iex> %ExScimClient.Client{base_url: "https://example.com/scim/v2", bearer: "abc123"} = client