Table of Contents

AuthToken

Fields
LocalDevelopmentSecret

This secret is used during local development only! There is no security threat with this value leaking anywhere.

Methods
Custom

Creates a custom authentication token for a given user that can be used for authentication when connecting to a self-hosted replication server. Secret must match the secret passed to the replication server executable.

ForLocalDevelopment

Creates an authentication token with a random User ID that can be used for authentication when connecting to a local (development) replication server.