MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / groups

Method groups

src/authenticator/src/oidc.rs:252–254  ·  view source on GitHub ↗

Extracts group names from the configured JWT claim for group-to-role sync. See [`mz_auth::group_claims::extract_groups`] for semantics.

(&self, claim_path: &str)

Source from the content-addressed store, hash-verified

250 /// Extracts group names from the configured JWT claim for group-to-role
251 /// sync. See [`mz_auth::group_claims::extract_groups`] for semantics.
252 pub fn groups(&self, claim_path: &str) -> Option<Vec<String>> {
253 mz_auth::group_claims::extract_groups(&self.unknown_claims, claim_path)
254 }
255}
256
257#[derive(Zeroize, ZeroizeOnDrop)]

Callers 4

runFunction · 0.45
validate_tokenMethod · 0.45
authFunction · 0.45

Calls 1

extract_groupsFunction · 0.85

Tested by

no test coverage detected