Back to godoc.org

Package oauth2

v0.0.0-...-46c660f
Latest Go to latest

The latest major version is .

Published: May 3, 2020 | License: AGPL-3.0 | Module: github.com/nerdzeu/nerdz-api

Index

func Authorize

func Authorize() echo.HandlerFunc

Authorize is the action of GET /oauth2/authorize and POST /oauth2/authorize when authentication is required

func Info

func Info() echo.HandlerFunc

Info is the action of GET /oauth2/info

func Init

func Init(server *osin.Server)

Init initialize OAuth2 Authorization server. This is the first function to call before using OAuth2

func Token

func Token() echo.HandlerFunc

Token is the action of Get /oauth2/token

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier