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

11 lines
357 B
Kotlin
Raw Normal View History

2025-01-26 19:51:49 +00:00
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
}