source: Git/Sources/src/main/java/com/wediscussmovies/project/service/UserService.java

main
Last change on this file was 980eeda, checked in by Test <matonikolov77@…>, 2 years ago

Restructuring project

  • Property mode set to 100644
File size: 497 bytes
Line 
1package com.wediscussmovies.project.service;
2
3import com.wediscussmovies.project.model.User;
4import org.springframework.security.core.userdetails.UserDetailsService;
5
6import javax.servlet.http.HttpServletRequest;
7import java.util.Optional;
8
9public interface UserService extends UserDetailsService {
10 User findByUsername(String username);
11 User register(String email, String username, String password, String confirmPassword, String name, String surname);
12
13 User findById(Integer id);
14}
Note: See TracBrowser for help on using the repository browser.