(ctx context.Context)
| 78 | } |
| 79 | |
| 80 | func ExtractNamespaceFrom(ctx context.Context) (uint64, error) { |
| 81 | jwtString, err := ExtractJwt(ctx) |
| 82 | if err != nil { |
| 83 | return 0, fmt.Errorf("extracting namespace from JWT %w", err) |
| 84 | } |
| 85 | return ExtractNamespaceFromJwt(jwtString) |
| 86 | } |
no test coverage detected