* Cantinho Satkeys

Refresh History
  • FELISCUNHA: Votos de um santo domingo para todo o auditório  4tj97u<z
    03 de Novembro de 2024, 10:49
  • j.s.: bom fim de semana  43e5r6 49E09B4F
    02 de Novembro de 2024, 08:37
  • j.s.: ghyt74 a todos  4tj97u<z
    02 de Novembro de 2024, 08:36
  • FELISCUNHA: ghyt74   49E09B4F  e bom feriado   4tj97u<z
    01 de Novembro de 2024, 10:39
  • JPratas: try65hytr Pessoal  h7ft6l k7y8j0
    01 de Novembro de 2024, 03:51
  • j.s.: try65hytr a todos  4tj97u<z
    30 de Outubro de 2024, 21:00
  • JPratas: dgtgtr Pessoal  4tj97u<z k7y8j0
    28 de Outubro de 2024, 17:35
  • FELISCUNHA: Votos de um santo domingo para todo o auditório  k8h9m
    27 de Outubro de 2024, 11:21
  • j.s.: bom fim de semana   49E09B4F 49E09B4F
    26 de Outubro de 2024, 17:06
  • j.s.: dgtgtr a todos  4tj97u<z
    26 de Outubro de 2024, 17:06
  • FELISCUNHA: ghyt74   49E09B4F  e bom fim de semana
    26 de Outubro de 2024, 11:49
  • JPratas: try65hytr Pessoal  101yd91 k7y8j0
    25 de Outubro de 2024, 03:53
  • JPratas: dgtgtr A Todos  4tj97u<z 2dgh8i k7y8j0
    23 de Outubro de 2024, 16:31
  • FELISCUNHA: ghyt74  pessoal   49E09B4F
    23 de Outubro de 2024, 10:59
  • j.s.: dgtgtr a todos  4tj97u<z
    22 de Outubro de 2024, 18:16
  • j.s.: dgtgtr a todos  4tj97u<z
    20 de Outubro de 2024, 15:04
  • FELISCUNHA: Votos de um santo domingo para todo o auditório  101041
    20 de Outubro de 2024, 11:37
  • axlpoa: hi
    19 de Outubro de 2024, 22:24
  • FELISCUNHA: ghyt74   49E09B4F  e bom fim de semana  4tj97u<z
    19 de Outubro de 2024, 11:31
  • j.s.: ghyt74 a todos  4tj97u<z
    18 de Outubro de 2024, 09:33

Autor Tópico: Golang Intro to REST API JWT auth with Go programming lang  (Lida 77 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Online mitsumi

  • Moderador Global
  • ***
  • Mensagens: 115675
  • Karma: +0/-0

MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English + srt | Duration: 26 lectures (2h 27m) | Size: 981 MB
Golang: Intro to JWT Auth with Golang (Go programming language)

What you'll learn:
Build a user registration and login backend with Golang
Understand JSON Web Tokens (Header, Payload, Signature)
Create RESTful APIs (user signup, login and a protected endpoint)
Authenticate users with email, password and a JWT
Secure RESTful endpoints with JWTs
Examine the internals of a JWT
Sign and validate a JWT
Create a Postgres database instance and a users table and insert records into the table
Examine the definitions of different Golang package methods

Requirements
Familiar with the basics of Golang and RESTful APIs
Any text editor (preferably visual studio code with golang plugins such as go-to definition)

Description
Build Golang (Go programming language) REST API authentication with JWTs is a simple introductory guide to creating secure Golang APIs with JSON Web Tokens (JWTs).

You will:

- learn the theory behind JSON WEB TOKENs (JWTs) and how they are constructed and used,

- build a Golang (Go programming language) signup handler function that takes the user's credentials such as email and password and saves them on a PostgreSQL database table,

- implement a Golang (Go programming language) utility that generates password hashes with the 'bcrypt' package to avoid storing plain text passwords on the database

- build a Golang (Go programming language) login handler function that takes user credentials and verifies the user based on their supplied credentials

- implement a Token generator utility that takes the user's credentials, and together with developer specified secret and claims, generates a JSON Web Token (JWT),

- create a Golang (Go programming language) middleware function that validates a JWT token upon request to restricted routes

Also, Throughout the process you will learn several Golang (Go programming language) and REST API authentication concepts.

Aside from Golang (Go programming language), some of the major technologies you will use are:

PostgreSQL database to create a database instance and a users table where your records will be stored in,

'jwt-go' package for generating the JSON Web Token and its validation,

'gorilla/mux' package for creating the router that your endpoints and handler functions will be registered on,

'pq' package for parsing your database instance's URL,

'database/sql' package for establishing and maintaining connection with your database instance,

'bcrypt' package for generating and comparing your password hashes,

Postman application for testing your APIs with several HTTP requests

Who this course is for
Anyone interested in creating JWT authenticated RESTful APIs with Golang


Download link:
Só visivel para registados e com resposta ao tópico.

Only visible to registered and with a reply to the topic.

Links are Interchangeable - No Password - Single Extraction