polyphony-chat / polyphony

A multi-instance, Polyphony/Spacebar API-compatible chat client
Mozilla Public License 2.0
44 stars 2 forks source link

Backend: Login function #8

Closed bitfl0wer closed 1 year ago

bitfl0wer commented 1 year ago

The backend needs an implemented auth::fosscord_login() function, which can then be called from the frontend using a tauri command. The function should take in a backend::FosscordBackend and on success, return a String which is just the token received from the server, nothing else.

bitfl0wer commented 1 year ago

Current state: needs testing