Medplum.Auth (medplum_elixir v0.2.0)

Copy Markdown View Source

Internal helper that exchanges Medplum client credentials for an access token.

Summary

Functions

Requests a bearer token for the given client using the client credentials grant.

Functions

token(client)

@spec token(Medplum.Client.t()) :: {:ok, String.t()} | {:error, Medplum.Error.t()}

Requests a bearer token for the given client using the client credentials grant.