auth

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	VerifyToken(ctx context.Context, token interface{}) (uid string, err error)
	GetUserInfo(ctx context.Context, uid string) (UserInfo, error)
}

Service -

type UserInfo

type UserInfo struct {
	Name          string
	PhotoURL      string
	Email         string
	Phone         string
	Location      string
	Provider      string
	Disabled      bool
	EmailVerified bool
}

Jump to

Keyboard shortcuts

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