aboutsummaryrefslogtreecommitdiff
path: root/Backend/Api/Api/Interfaces/IJwtService.cs
diff options
context:
space:
mode:
authorbranislav.radivojevic <wafflemynxyt@gmail.com>2022-10-27 21:56:19 +0200
committerbranislav.radivojevic <wafflemynxyt@gmail.com>2022-10-27 21:56:19 +0200
commitf7997bed82a22b91e4c6364bfb9f64679357f0d1 (patch)
tree9704b619696d539ae3cf6b475d580a5fc4586067 /Backend/Api/Api/Interfaces/IJwtService.cs
parentcf00223fbf339757b3f1e5de144147eba9af3fa2 (diff)
parent8bfb37503f6af6dac4bf067337d851cedace1c67 (diff)
Merge branch 'develop' of http://gitlab.pmf.kg.ac.rs/BrzoDoLokacije2022/odyssey/brzodolokacije into develop
Diffstat (limited to 'Backend/Api/Api/Interfaces/IJwtService.cs')
-rw-r--r--Backend/Api/Api/Interfaces/IJwtService.cs12
1 files changed, 12 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..35f5843
--- /dev/null
+++ b/Backend/Api/Api/Interfaces/IJwtService.cs
@@ -0,0 +1,12 @@
+using Api.Models;
+
+namespace Api.Interfaces
+{
+ public interface IJwtService
+ {
+ Task<string> GenToken(User user);
+ Task<string> TokenToId(string token);
+ Task<string> RenewToken(string existingToken);
+
+ }
+} \ No newline at end of file