pub async fn AuthenticateUser(
username: String,
password: String,
provider: String,
) -> Result<AuthResponseDTO, String>Expand description
Command: Authenticate User
Authenticates a user with the specified provider. Delegates to Air’s authentication service.
§Arguments
app_handle- Tauri application handleusername- User’s username/emailpassword- User’s password (or auth token)provider- Auth provider (“github”, “gitlab”, “microsoft”, etc.)
§Returns
AuthResponseDTO with authentication token