ISignupService
Namespace: SlottyMedia.Backend.Services.Interfaces
This service is used for signup operations for new users.
public interface ISignupService
Methods
SignUp(String, String, String)
Attempts to perform a signup operation.
Task<Session> SignUp(string username, string email, string password)
Parameters
username String
The user's username
email String
The user's email
password String
The user's password
Returns
Exceptions
UsernameAlreadyExistsException
If a user with the provided username already exists
EmailAlreadyExistsException
If a user with the provided email already exists
IllegalCharsInUsernameException
If the provided username contains illegal characters
IllegalUsernameLengthException
If the provided username is of illegal length
PasswordTooShortException
If the provided password was too short