barrel_mcp_client_auth_bearer (barrel_mcp v2.0.2)

View Source

Static bearer-token auth for barrel_mcp_client.

Refresh is a no-op: a static token cannot be rotated by the library. A 401 with this handle returns {error, unauthorized} so the caller can supply a new token.

Summary

Functions

header(Token)

init(Token)

refresh(Token, Www)