You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Apple/Sources/AllInApp/AllIn/Services/IAuthService.swift

15 lines
343 B

//
// IAuthService.swift
// AllIn
//
// Created by Emre on 28/10/2023.
//
import Foundation
protocol IAuthService {
func login(login: String, password: String, completion : @escaping (Int)-> ())
func register(username: String, email: String, password: String, completion : @escaping (Int)-> ())
func refreshAuthentication()
}