MCPcopy Create free account
hub / github.com/akash-network/node / permissionScopesToStrings

Function permissionScopesToStrings

cmd/akash/cmd/auth.go:168–174  ·  view source on GitHub ↗
(scopes ajwt.PermissionScopes)

Source from the content-addressed store, hash-verified

166}
167
168func permissionScopesToStrings(scopes ajwt.PermissionScopes) []string {
169 result := make([]string, len(scopes))
170 for i, scope := range scopes {
171 result[i] = string(scope)
172 }
173 return result
174}

Callers 1

authJWTCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected