Authentication
Manage user identity and session access to CosmicAC services. Authentication verifies your identity and authorizes access to your resources. Use these commands to log in, log out, and manage your credentials.
signup
Creates a new CosmicAC user account.
Usage
cosmicac signupExample
$ cosmicac signup
? Please enter the signup secret: jBKLFbuAa8TIwQaV77anCJxsd4woE2Bz
? Enter the email of the new user: user@example.com
? Enter the password for the new user: [input is masked]
? Select your role: (Use arrow keys)
❯ Customer
Provider
Signup successful!login
Authenticates an existing user and establishes a session.
Usage
cosmicac loginExample
$ cosmicac login
? Enter your email: user@example.com
? Enter your password: [input is masked]
Login successful! Your token has been saved.logout
Ends the current authenticated session.
Usage
cosmicac logoutExample
$ cosmicac logout
Logged out successfully!