docs.rs failed to build twitch_oauth_token-2.0.7
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
twitch_oauth_token-2.0.6
twitch_oauth_token
A Rust library for Twitch OAuth 2.0 authentication with compile-time safety and comprehensive scope support.
- Token management - Refresh, validate, and revoke tokens
- Type-safe OAuth flows - Compile-time prevention of invalid operations using the type-state pattern
- Stateless CSRF protection - Cryptographically secure state validation without server-side storage
- Full Twitch scope support - All Twitch API scopes with convenient helper methods
- Pre-configured HTTP client - Includes an optimized authentication client preset from asknothingx2-util
- Twitch mock API support - Built-in support for the Twitch CLI mock API for testing and certification
Installation
[]
= "2"
= { = "1", = ["full"] }
Quick Start
App access token
use TwitchOauth;
async
User access token
use FromStr;
use ;
Handling OAuth Callback
use ;
async
Feature Flags
oneshot-server
- Built-in development server for handling OAuth callbackstest
- Testing utilities and mock server support
License
Licensed under either of:
- Apache License, Version 2.0
- MIT license