Docs.rs
steer-auth-openai-0.12.0
steer-auth-openai 0.12.0
Permalink
Docs.rs crate page
AGPL-3.0-or-later
Links
Repository
crates.io
Source
Owners
BrendanGraham14
Dependencies
async-trait ^0.1.88
normal
base64 ^0.22.1
normal
hyper ^1.6.0
normal
hyper-util ^0.1.14
normal
rand ^0.8
normal
reqwest ^0.12
normal
serde ^1.0
normal
serde_json ^1.0
normal
serde_urlencoded ^0.7.1
normal
sha2 ^0.10.9
normal
steer-auth-plugin ^0.12.0
normal
steer-tools ^0.12.0
normal
tokio ^1
normal
tracing ^0.1.41
normal
url ^2.5
normal
Versions
7.41%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate steer_auth_openai
steer_
auth_
openai
0.12.0
All Items
Crate Items
Structs
Enums
Functions
Crate
steer_
auth_
openai
Copy item path
Source
Structs
§
Chat
GptAccount
Id
OpenAI
Auth
State
OpenAIO
Auth
OpenAIO
Auth
Flow
Open
AiAuth
Plugin
Pkce
Challenge
Enums
§
OpenAI
Auth
State
Kind
Functions
§
extract_
chatgpt_
account_
id
refresh_
if_
needed
Refresh tokens if needed, updating storage when refreshed.
tokens_
need_
refresh
Check if tokens need refresh (within 5 minutes of expiry).