Imports github.com/go-pkgz/rest github.com/go-pkgz/auth/logger github.com/go-pkgz/auth/provider github.com/go-pkgz/auth/token github.com/golang-jwt/jwt Standard library imports crypto/rand crypto/sha1 encoding/json fmt mime net/http time