google_credential

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleCredential

type GoogleCredential interface {
	LoadConfig() *jwt.Config
	NormalizeUserId(userId string) string
	HasScope(scope string) bool
	HasUserInfo() bool
	HasCustomerInfo() bool
}

func FromData

func FromData(googleConfig *config.GoogleCfg, credential string) GoogleCredential

func New

func New(googleConfig *config.GoogleCfg) GoogleCredential

Jump to

Keyboard shortcuts

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