(paramId: string)
| 879 | * Helper to check if a parameter should be treated as a password field |
| 880 | */ |
| 881 | export function isPasswordParameter(paramId: string): boolean { |
| 882 | const passwordFields = [ |
| 883 | 'password', |
| 884 | 'apiKey', |
| 885 | 'token', |
| 886 | 'secret', |
| 887 | 'key', |
| 888 | 'credential', |
| 889 | 'accessToken', |
| 890 | 'refreshToken', |
| 891 | 'botToken', |
| 892 | 'authToken', |
| 893 | ] |
| 894 | |
| 895 | return passwordFields.some((field) => paramId.toLowerCase().includes(field.toLowerCase())) |
| 896 | } |
| 897 | |
| 898 | /** |
| 899 | * Formats parameter IDs into human-readable labels |
no outgoing calls
no test coverage detected