package
0.0.0-20240516054549-d1b5432f5007
Repository: https://github.com/camiloa17/chirpy-project.git
Documentation: pkg.go.dev
# Functions
GenerateJWTToken it generates a "access" or "refresh" token type.
GetAuthToken gets the auth token from the Authorization header example "Bearer".
HashPassword hashes the users password to be saved on the db.
ValidatePassword validates the password of the user login in.
ValidateToken it validates a "access" or "refresh" token type.