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.
16 lines
361 B
16 lines
361 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()
|
|
func logout()
|
|
}
|