MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / authentication

Method authentication

src/api_client.rs:88–90  ·  view source on GitHub ↗

How this client authenticates. Not necessarily how it was built: with OIDC the token is rotated before every upload, in [`crate::run_environment::RunEnvironmentProvider::set_oidc_token`].

(&self)

Source from the content-addressed store, hash-verified

86 /// OIDC the token is rotated before every upload, in
87 /// [`crate::run_environment::RunEnvironmentProvider::set_oidc_token`].
88 pub fn authentication(&self) -> &Authentication {
89 &self.authentication
90 }
91
92 /// The single mutation point for the credentials.
93 pub fn set_authentication(&mut self, authentication: Authentication) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected