Skip to content

Userhelper

Max edited this page Jun 7, 2021 · 1 revision

This validates users (not implemented yet) based on their jws token.

ValidateUser

This method validates a user based on his JWS token.
The method takes the token as a string as parameter.
The method returns a bool based on the token and its legitimacy.
Sample usage:

if ValidateUser(userToken){
	//do stuff
}
Clone this wiki locally