(uri string)
| 93 | } |
| 94 | |
| 95 | func (c *Credentials) Tokens(uri string) *Tokens { |
| 96 | if tokens, ok := c.Services[normalizeURI(uri)]; ok { |
| 97 | return &tokens |
| 98 | } |
| 99 | return nil |
| 100 | } |
| 101 | |
| 102 | func (c *Credentials) AddTokens(uri string, tokens Tokens) { |
| 103 | c.Services[normalizeURI(uri)] = tokens |
nothing calls this directly
no test coverage detected