aboutsummaryrefslogtreecommitdiff
path: root/Backend/Api/Api/Interfaces/IJwtService.cs
diff options
context:
space:
mode:
authorTamara Jerinic <tamara.jerinic@gmail.com>2022-11-01 13:08:01 +0000
committerTamara Jerinic <tamara.jerinic@gmail.com>2022-11-01 13:08:01 +0000
commit9376e25847ad481618f9d3e448f9a06e0809e8ac (patch)
treeebf8781816173f39b9ada8528e2eb55c784f267f /Backend/Api/Api/Interfaces/IJwtService.cs
parent41eb14e56a1f0e59347d5d37cb39406ec1ee810a (diff)
parent55cdd5a31e9da8c50d1971861dca75fadfb63dc4 (diff)
Merge branch 'develop' into 'master'
Merge dev->master See merge request BrzoDoLokacije2022/odyssey/brzodolokacije!1
Diffstat (limited to 'Backend/Api/Api/Interfaces/IJwtService.cs')
-rw-r--r--Backend/Api/Api/Interfaces/IJwtService.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Backend/Api/Api/Interfaces/IJwtService.cs b/Backend/Api/Api/Interfaces/IJwtService.cs
new file mode 100644
index 0000000..6274bf9
--- /dev/null
+++ b/Backend/Api/Api/Interfaces/IJwtService.cs
@@ -0,0 +1,13 @@
+using Api.Models;
+
+namespace Api.Interfaces
+{
+ public interface IJwtService
+ {
+ string GenToken(User user);
+ string TokenToId(string token);
+ public string GenEmailToken(User user);
+ public string EmailTokenToId(string token);
+ public string EmailTokenToKod(string token);
+ }
+} \ No newline at end of file