Spiral Authentication
Authentication support for the Spiral Rust SDK.
Credential providers take a caller-owned reqwest::Client or
reqwest_middleware::ClientWithMiddleware as their first constructor argument.
Disable redirects on the supplied client to protect credentials. The providers
reuse that connection pool and preserve its middleware; they do not build an HTTP
client or install Spiral's internal transport policy.
Pass the same client to default_credentials when using credential discovery.
For interactive sign-in, construct DeviceAuthBuilder with the client and OAuth
application ID, then pass its result to DeviceAuthn::new. Hosts own any shared
interactive session and its persistence.