mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
Add the server-side CLI OAuth endpoints and token persistence needed to mint JWT access tokens and rotating refresh tokens from the existing GitHub web auth flow. Add CLI auth storage plus `fabro auth login`, `logout`, and `status`, and prefer stored OAuth access tokens when building target clients.
31 lines
730 B
TOML
31 lines
730 B
TOML
[package]
|
|
name = "twin-github"
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
publish = false
|
|
license.workspace = true
|
|
description = "Fake GitHub API server for local black-box testing"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
axum = { workspace = true }
|
|
base64 = { workspace = true }
|
|
chrono = { workspace = true }
|
|
fabro-http.workspace = true
|
|
jsonwebtoken = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tempfile = "3"
|
|
tokio = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
uuid = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
reqwest = { workspace = true }
|
|
tokio = { workspace = true, features = ["test-util", "macros"] }
|