LoginService
Functions
Link copied to clipboard
Method to return an existing instance variable
Link copied to clipboard
open fun login(loginRequest: LoginRequest, loginResponseMutableLiveData: MutableLiveData<LoginResponse>, errorResponseMutableLiveData: MutableLiveData<ErrorResponse>)
Makes a login request to the server
Link copied to clipboard
open fun register(registerRequest: RegisterRequest, registerResponseMutableLiveData: MutableLiveData<RegisterResponse>, errorResponseMutableLiveData: MutableLiveData<ErrorResponse>)
Validates user registration via server