Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ auth.ts
File
auth.ts
packages/opencode/src/provider/auth.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ LayerNode } from
"@opencode-ai/core/effect/layer-node"
2
import
type
{ AuthOAuthResult, Hooks } from
"@opencode-ai/plugin"
3
import
{ serviceUse } from
"@opencode-ai/core/effect/service-use"
4
import
{ Auth } from
"@/auth"
Callers
nothing calls this directly
Calls
9
optional
Function · 0.90
serviceUse
Function · 0.90
list
Method · 0.65
get
Method · 0.65
decode
Function · 0.50
make
Method · 0.45
authorize
Method · 0.45
set
Method · 0.45
callback
Method · 0.45
Tested by
no test coverage detected