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 | |
---|
1 | package com.wediscussmovies.project.service;
|
---|
2 |
|
---|
3 | import com.wediscussmovies.project.model.User;
|
---|
4 | import org.springframework.security.core.userdetails.UserDetailsService;
|
---|
5 |
|
---|
6 | import javax.servlet.http.HttpServletRequest;
|
---|
7 | import java.util.Optional;
|
---|
8 |
|
---|
9 | public 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.