CosmicAC Logo

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 signup

Example

$ 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 login

Example

$ 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 logout

Example

$ cosmicac logout
Logged out successfully!

On this page