package com.yaoai.security.service;

import com.yaoai.security.dto.LoginRequest;
import com.yaoai.security.dto.LoginResponse;
import com.yaoai.security.dto.RegisterRequest;
import com.yaoai.security.dto.UserInfo;

public interface AuthService {

    LoginResponse register(RegisterRequest request);

    LoginResponse login(LoginRequest request);

    void logout();

    UserInfo me();
}
