auth/

directory
Version: v0.0.0-...-86d22a7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2017 License: Apache-2.0

README

Web - Authentication

Learn several different techniques and packages for adding authentication to web apps.

Notes

  • The standard library has much of what you need to build services and apps.
  • The http package provides the building blocks.
  • There are other great packages in the Go ecosystem to help.

https://golang.org/pkg/net/http/
https://golang.org/doc/articles/wiki/
https://github.com/markbates/goth
https://jwt.io/

Code Review

HTTP Basic Authentication: Code | Test
Authentication with Goth: Code | Test
JSON Web Tokens: Code | Test

Exercises

Exercise 1

TBD


All material is licensed under the Apache License Version 2.0, January 2004.

Directories

Path Synopsis
Sample program to show how to apply basic authentication with the standard library for your web request.
Sample program to show how to apply basic authentication with the standard library for your web request.
Sample program to show how to apply basic authentication with the goth package for your web request.
Sample program to show how to apply basic authentication with the goth package for your web request.
Sample program to show how to use JWTs
Sample program to show how to use JWTs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL