Skip to main content

string_refinement_violation

Function string_refinement_violation 

Source
pub fn string_refinement_violation<'a>(
    decl: &'a TypeDecl,
    value: &str,
) -> Option<&'a PredKind>
Expand description

#2869: the first predicate of a refined or opaque String type that value fails, in the order the emitted boundary checks them (None when it holds every one, or when the type carries no refinement). bynk token validates a --sub against a Bearer actor’s identity type with it, so the token it signs is one the seam’s own refinement check accepts.