Files
photoprism/internal/service/cluster/examples.go
2025-09-26 11:01:48 +02:00

14 lines
632 B
Go

package cluster
// Example values used by documentation and tests to illustrate cluster tokens.
const (
// ExampleJoinToken represents a valid portal join token.
ExampleJoinToken = "pGVplw8-eISgkdQN-Mep62nQ"
// ExampleJoinTokenAlt provides an alternative join token for negative/rotation tests.
ExampleJoinTokenAlt = "k9sEFe6-A7gt6zqm-gY9gFh0"
// ExampleClientID is a sample node client identifier issued by the portal.
ExampleClientID = "cs5gfen1bgxz7s9i"
// ExampleClientSecret is a sample node client secret matching the format generated by rnd.ClientSecret().
ExampleClientSecret = "A1B2C3D4E5F6G7H8J9K0L1M2N3P4Q5R6"
)