MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / delete

Method delete

crates/chat-cli/src/auth/builder_id.rs:488–491  ·  view source on GitHub ↗

Delete the token from the keychain

(&self, database: &Database)

Source from the content-addressed store, hash-verified

486
487 /// Delete the token from the keychain
488 pub async fn delete(&self, database: &Database) -> Result<(), AuthError> {
489 database.delete_secret(Self::SECRET_KEY).await?;
490 Ok(())
491 }
492
493 pub(crate) fn from_output(
494 output: CreateTokenOutput,

Callers 1

refresh_tokenMethod · 0.45

Calls 1

delete_secretMethod · 0.80

Tested by

no test coverage detected