oauth

package
v0.9.68 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package oauth implements generic OAuth authentication

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(header string) (u *user.User, err error)

Auth takes the request authorization header and returns user bearer token "oauth" returns default url (first item in auth_oauth_url conf value)

Types

This section is empty.

Jump to

Keyboard shortcuts

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