DevAuthCommand is a CLI command to generate a valid authentication token and sign-in URL for local development.
const jwt: JwtServiceconst url: UrlServiceconst registrationRepo: RegistrationRepositoryconst command = new DevAuthCommand({ jwt, url, registrationRepo })const { url, token } = command.process({ email: 'jess@example.com', interpreter: true, admin: false,})console.log('Your dev token is %o', token)console.log('Log in at %o', url)
Generated using TypeDoc
DevAuthCommand is a CLI command to generate a valid authentication token and sign-in URL for local development.