MCPcopy Create free account
hub / github.com/brimdata/super / AddTokens

Method AddTokens

api/client/auth0/store.go:102–104  ·  view source on GitHub ↗
(uri string, tokens Tokens)

Source from the content-addressed store, hash-verified

100}
101
102func (c *Credentials) AddTokens(uri string, tokens Tokens) {
103 c.Services[normalizeURI(uri)] = tokens
104}
105
106func (c *Credentials) RemoveTokens(uri string) {
107 delete(c.Services, normalizeURI(uri))

Callers 1

SetTokensMethod · 0.80

Calls 1

normalizeURIFunction · 0.85

Tested by

no test coverage detected