pub fn inspect_context_token(
token: String,
public_key: PublicKey,
) -> Result<ContextInspectResult, TokenError>Expand description
Inspects a context token to extract session and exposure information.
This performs signature verification but does not enforce time checks, so expired tokens can still be inspected.
This is a diagnostic method. No authorization decision should flow from
inspect output. For authorization checks, use
ContextVerifier::check_precluded_exposures instead.
§Arguments
token- The base64-encoded context tokenpublic_key- The public key used to verify the token signature
§Returns
Inspection result with subject, exposure labels, sources, and expiry info