auth/

directory
v0.0.0-...-5c39655 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2017 License: MIT

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

Code Review

HTTP Basic Authentication: Code | Test
Authentication with Goth: Code | Test

Exercises

Exercise 1

TBD


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

Directories

Path Synopsis
demos
example1 command
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.
example2 command
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.

Jump to

Keyboard shortcuts

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