Skip to main content

token

Function token 

Source
pub fn token(role: Option<&str>) -> Option<String>
Expand description

The bearer token for role, or the default participant’s when role is None. CANTON_TOKEN overrides both.

These are development credentials issued by the LocalNet’s own issuer, with a long life and no revocation. They are not something to carry into a deployment.