google

package
v0.0.0-...-7cde619 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGoogleOauthUniqueIDByIDToken

func GetGoogleOauthUniqueIDByIDToken(c *gin.Context)

func GetOauthTokenByCode

func GetOauthTokenByCode(c *gin.Context)

func GetOauthURL

func GetOauthURL(c *gin.Context)

func GetUserInfoByToken

func GetUserInfoByToken(c *gin.Context)

func GoogleProjectOauthLogin

func GoogleProjectOauthLogin(c *gin.Context)

Types

type GetGoogleOauthUniqueIDByIDTokenRequest

type GetGoogleOauthUniqueIDByIDTokenRequest struct {
	IDToken string `json:"id_token"`
}

type GetUserInfoByTokenRequest

type GetUserInfoByTokenRequest struct {
	Token string
}

type GoogleProjectOauthLoginRequest

type GoogleProjectOauthLoginRequest struct {
	Provider    *string `json:"provider"`
	ProjectName *string `json:"project_name"`
	Key         string  `json:"key"`
	IDToken     string  `json:"id_token"`
	UserID      *string `json:"user_id"`
}

Jump to

Keyboard shortcuts

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