MCPcopy 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
79func (c *Connection) SetAuthToken(token string) {
80 c.defaultHeader.Set("Authorization", "Bearer "+token)
81}
82
83func (c *Connection) SetAuthStore(store *auth0.Store) error {
84 tokens, err := store.Tokens(c.hostURL)

Callers 3

SetAuthStoreMethod · 0.95
refreshAuthTokenMethod · 0.95
TestAuthIdentityFunction · 0.80

Calls 1

SetMethod · 0.45

Tested by 1

TestAuthIdentityFunction · 0.64