MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / is_bearer_auth

Method is_bearer_auth

crates/openshell-cli/src/tls.rs:104–106  ·  view source on GitHub ↗

Returns `true` when using bearer token auth.

(&self)

Source from the content-addressed store, hash-verified

102
103 /// Returns `true` when using bearer token auth.
104 pub fn is_bearer_auth(&self) -> bool {
105 self.edge_token.is_some() || self.oidc_token.is_some()
106 }
107}
108
109pub struct TlsMaterials {

Callers 3

ssh_session_configFunction · 0.80
gateway_statusFunction · 0.80
http_health_checkFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected