main
Last change
on this file since c3268ca was c3268ca, checked in by Stefan Risteski <stefanristeski2001@…>, 9 months ago |
Project
The whole Project
|
-
Property mode
set to
100644
|
File size:
478 bytes
|
Line | |
---|
1 | package com.example.kvizko.service;
|
---|
2 |
|
---|
3 | import com.example.kvizko.exceptions.InvalidCredentialsException;
|
---|
4 | import com.example.kvizko.exceptions.UsernameAlreadyTakenException;
|
---|
5 | import com.example.kvizko.models.User;
|
---|
6 |
|
---|
7 | public interface UserService {
|
---|
8 |
|
---|
9 | public User findByUsernameAndPassword(String username, String password) throws InvalidCredentialsException;
|
---|
10 |
|
---|
11 | public void registerUser(String username, String full_name, String password) throws UsernameAlreadyTakenException;
|
---|
12 |
|
---|
13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.