Pristine.Adapters.Auth.Bearer (Pristine v0.3.0)

Copy Markdown View Source

Bearer token auth adapter.

Summary

Functions

Build a bearer auth tuple for Context auth configuration.

Functions

new(token, opts \\ [])

@spec new(String.t(), keyword()) :: {module(), keyword()}

Build a bearer auth tuple for Context auth configuration.