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

Method with_authentication

src/api_client.rs:77–79  ·  view source on GitHub ↗

A copy of this client, authenticating differently.

(&self, authentication: Authentication)

Source from the content-addressed store, hash-verified

75
76 /// A copy of this client, authenticating differently.
77 pub fn with_authentication(&self, authentication: Authentication) -> Self {
78 Self::new(authentication, self.api_url.clone())
79 }
80
81 pub fn token(&self) -> Option<&str> {
82 self.authentication.token()

Callers 1

loginFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected