aboutsummaryrefslogtreecommitdiff
path: root/src/Common/DevHive.Common/Jwt/Interfaces/IJwtService.cs
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-02-28 10:31:37 +0200
committertranstrike <transtrike@gmail.com>2021-02-28 10:31:37 +0200
commite4331fe503547df8f17095540cbd4170bbaf2b25 (patch)
treed78b152b918ecd244652d6aaef91dea8f9a2857d /src/Common/DevHive.Common/Jwt/Interfaces/IJwtService.cs
parent83ae76a1b93c91cf7cfb5fc9ea1ef728ee47c839 (diff)
downloadDevHive-e4331fe503547df8f17095540cbd4170bbaf2b25.tar
DevHive-e4331fe503547df8f17095540cbd4170bbaf2b25.tar.gz
DevHive-e4331fe503547df8f17095540cbd4170bbaf2b25.zip
JWT Working like a charm
Diffstat (limited to 'src/Common/DevHive.Common/Jwt/Interfaces/IJwtService.cs')
-rw-r--r--src/Common/DevHive.Common/Jwt/Interfaces/IJwtService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/DevHive.Common/Jwt/Interfaces/IJwtService.cs b/src/Common/DevHive.Common/Jwt/Interfaces/IJwtService.cs
index d2f1756..6f844f5 100644
--- a/src/Common/DevHive.Common/Jwt/Interfaces/IJwtService.cs
+++ b/src/Common/DevHive.Common/Jwt/Interfaces/IJwtService.cs
@@ -6,6 +6,6 @@ namespace DevHive.Common.Jwt.Interfaces
public interface IJwtService
{
string GenerateJwtToken(Guid userId, string username, List<string> roleNames);
- bool ValidateToken(string authToken);
+ bool ValidateToken(Guid userId, string rawToken);
}
}