is_token_well_formed

Function is_token_well_formed 

Source
pub fn is_token_well_formed(token: &str) -> bool
Expand description

Return whether a token is well-formed for Gestura’s current bearer-token scheme.

This is not a full validation step (it does not check expiry or revocation), but it can be used by shells to provide a quick, offline sanity check.