ValidScope reports whether s is a known credential scope.
(s string)
| 3342 | |
| 3343 | // ValidScope reports whether s is a known credential scope. |
| 3344 | func ValidScope(s string) bool { return s == ScopeAccount || s == ScopeAgent } |
| 3345 | |
| 3346 | // Principal is the authenticated caller resolved from a credential: the owning |
| 3347 | // user plus the credential's scope and (for agent-scoped credentials) the agent |
no outgoing calls
no test coverage detected