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

Method get_auth_profile

crates/chat-cli/src/database/mod.rs:256–258  ·  view source on GitHub ↗

Get the current user profile used to determine API endpoints.

(&self)

Source from the content-addressed store, hash-verified

254
255 /// Get the current user profile used to determine API endpoints.
256 pub fn get_auth_profile(&self) -> Result<Option<AuthProfile>, DatabaseError> {
257 self.get_json_entry(Table::State, CODEWHISPERER_PROFILE_KEY)
258 }
259
260 /// Set the current user profile used to determine API endpoints.
261 pub fn set_auth_profile(&mut self, profile: &AuthProfile) -> Result<(), DatabaseError> {

Callers 4

newMethod · 0.80
configured_valueMethod · 0.80
executeMethod · 0.80

Calls 1

get_json_entryMethod · 0.80

Tested by

no test coverage detected