T3.OAuth (T3 v0.3.0)

Copy Markdown View Source

T3 sign-in using ConduitMCP's OAuth discovery, registration, PKCE and callback handling. Defaults to read-only scope. Tokens stay in Conduit's in-memory store unless the caller supplies a custom :store in :oauth_options. The caller owns single-use consumption of flows created through begin/2; login/2 uses a one-shot listener.

Summary

Functions

Begin a sign-in for an application serving its own :redirect_uri.

Validate a complete callback URL and exchange its code for secret-wrapped tokens.

Run a sign-in with a temporary loopback callback. Requires an :open URL callback.

Functions

begin(client, opts)

Begin a sign-in for an application serving its own :redirect_uri.

complete(flow, callback_url)

Validate a complete callback URL and exchange its code for secret-wrapped tokens.

login(client, opts)

Run a sign-in with a temporary loopback callback. Requires an :open URL callback.