Skip to main content

claims_match

Function claims_match 

Source
fn claims_match(identity: &OidcIdentity, claims: &Value) -> bool
Expand description

Whether claims, an ID token’s payload, carries every claim identity names, with its value. Each is found by its Claim::pointer: a name beginning with / is a JSON pointer (RFC 6901) into the claims, for a platform that nests them (/kubernetes.io/namespace), and any other name is a top-level claim.