GetRequiredScopesSlice returns the required scopes as a slice of strings.
()
| 120 | |
| 121 | // GetRequiredScopesSlice returns the required scopes as a slice of strings. |
| 122 | func (t *ToolScopeInfo) GetRequiredScopesSlice() []string { |
| 123 | if t == nil { |
| 124 | return nil |
| 125 | } |
| 126 | scopes := make([]string, len(t.RequiredScopes)) |
| 127 | copy(scopes, t.RequiredScopes) |
| 128 | return scopes |
| 129 | } |
no outgoing calls
no test coverage detected