Skip to main content

SECRET_PREFIXES

Constant SECRET_PREFIXES 

Source
pub const SECRET_PREFIXES: &[&str];
Expand description

The prefixes a credential-shaped token starts with. Public so a caller can tell cheaply, before decoding, that a text may hold one: a plain substring test, which no escaping of the text around a token can hide.