AttestoMCP.Auth (AttestoMCP v2.2.3)

Copy Markdown View Source

Internal authentication helpers shared by AttestoMCP plugs.

For {module, fun, extra} callback tuples, invoke/2 appends extra after the per-call args (apply(module, fun, args ++ extra)).

Summary

Functions

invoke(fun, args)

@spec invoke(term(), [term()]) :: term()

scheme(arg1)

@spec scheme(term()) :: :bearer | :dpop

scopes(scopes)

@spec scopes(term()) :: [String.t()]