handlers

package
v0.0.0-...-4f13886 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2017 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(ctx *gin.Context)

Auth checks the URL parameter 'provider' If the provider is not supported, aborting with an error Also its determines the provider and seting redirectURI, for future needs

func AuthBegin

func AuthBegin(ctx *gin.Context)

AuthBegin redirects user to provider's consent page that asks for permissions for the required scopes explicitly

func AuthComplete

func AuthComplete(ctx *gin.Context)

AuthComplete completes the authentication process and fetches all of the basic information about the user from the provider

Types

This section is empty.

Jump to

Keyboard shortcuts

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