Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brimdata/super
/ SetAuthToken
Method
SetAuthToken
api/client/connection.go:79–81 ·
view source on GitHub ↗
(token string)
Source
from the content-addressed store, hash-verified
77
}
78
79
func
(c *Connection) SetAuthToken(token string) {
80
c.defaultHeader.Set(
"Authorization"
,
"Bearer "
+token)
81
}
82
83
func
(c *Connection) SetAuthStore(store *auth0.Store) error {
84
tokens, err := store.Tokens(c.hostURL)
Callers
3
SetAuthStore
Method · 0.95
refreshAuthToken
Method · 0.95
TestAuthIdentity
Function · 0.80
Calls
1
Set
Method · 0.45
Tested by
1
TestAuthIdentity
Function · 0.64