Skip to main content

MIN_TOKEN_LEN

Constant MIN_TOKEN_LEN 

Source
pub const MIN_TOKEN_LEN: usize = 32;
Expand description

The shortest token this server will accept in its configuration.

Long enough that guessing is not a strategy, and stated as a number rather than as advice because a config server with a four-character token is a config server with no authentication at all.