Mobile/src/main/kotlin/domain/Service/AuthorizeService.kt

11 lines
357 B
Kotlin

package org.example.domain.Service
import org.example.domain.Request.AuthorizeRequest
import org.example.domain.Request.RegistrationRequest
import org.example.ui.model.UserPresenter
interface AuthorizeService {
fun auth(authorizeRequest: AuthorizeRequest): UserPresenter
fun registration(registrationRequest: RegistrationRequest): UserPresenter
}