verify

package
v0.0.0-...-6744b59 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InvalidTokenFormat = "10"
)

Variables

View Source
var InvalidTokenFormatErr = errors.New(InvalidTokenFormat)

Functions

func ConfigureOAuthClient

func ConfigureOAuthClient(clientID, clientSecret string) *oauth2.Config

func SetConfig

func SetConfig()

func VerifyToken

func VerifyToken(allBytes []byte) (*token.ClaimSet, error)

Types

type Credentials

type Credentials struct {
	Cid     string `json:"cid"`
	Csecret string `json:"csecret"`
}

Credentials which stores google ids.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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