Toki is an auth orchestrator written in Go. Toki simplifies token renewal through its config and use of signals.
pipeline-config.json
[
{
"command": "python3 test.py",
"auth": [
{
"strategy": "custom",
"params": {
"expiry": 60,
"refresh_after": 50,
"command": "sleep 5 && echo 1"
}
}
]
},
{
"command": "python3 test.py",
"auth": [
{
"strategy": "custom",
"params": {
"expiry": 60,
"refresh_after": 50,
"command": "sleep 5 && echo 1"
}
}
]
}
]command: toki pipeline-config.json
