controllers

package
v0.0.0-...-ebb2229 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDadosGoogle

func GetDadosGoogle(c *gin.Context)

func OAuthGooleLogin

func OAuthGooleLogin(c *gin.Context)

OAuthGooleLogin redireciona para o tela de google

func OauthGoogleCallback

func OauthGoogleCallback(c *gin.Context)

OauthGoogleCallback callback

Types

type GoogleUserStruct

type GoogleUserStruct struct {
	Id            string `json:"id"`
	Email         string `json:"email"`
	VerifiedEmail bool   `json:"verified_email"`
	Name          string `json:"name"`
	GivenName     string `json:"given_name"`
	FamilyName    string `json:"family_name"`
	Picture       string `json:"picture"`
	Locale        string `json:"locale"`
	Hd            string `json:"hd"`
}

Jump to

Keyboard shortcuts

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