* Delete credential for a source
(source: LoadedSource)
| 159 | * Delete credential for a source |
| 160 | */ |
| 161 | async delete(source: LoadedSource): Promise<boolean> { |
| 162 | const credentialId = this.getCredentialId(source); |
| 163 | const manager = getCredentialManager(); |
| 164 | const deleted = await manager.delete(credentialId); |
| 165 | if (deleted) { |
| 166 | debug(`[SourceCredentialManager] Deleted ${credentialId.type} for ${source.config.slug}`); |
| 167 | } |
| 168 | return deleted; |
| 169 | } |
| 170 | |
| 171 | /** |
| 172 | * Get token value for a source (convenience method) |
nothing calls this directly
no test coverage detected