package
4.0.2-stable+incompatible
Repository: https://github.com/algorand/go-algorand.git
Documentation: pkg.go.dev

# Functions

GenerateAPIToken writes a cryptographically secure APIToken to disk.
GetAndValidateAPIToken reads the APIToken from the token file and validates it.
ValidateAPIToken returns a non-nil error if the passed APIToken fails our validation checks.
ValidateOrGenerateAPIToken generates an APIToken if it does not exist, and checks that any set token is valid.

# Constants

API tokens that live in the datadirs of their respective daemons.
API tokens that live in the datadirs of their respective daemons.
API tokens that live in the datadirs of their respective daemons.