types

package
v0.0.0-...-a5f9b48 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseIDToken

type BaseIDToken struct {
	UID string
}

type CtxLocalsGetter

type CtxLocalsGetter interface {
	Locals(key interface{}, value ...interface{}) interface{}
}

type HeaderGetter

type HeaderGetter interface {
	Get(key string, defaultValue ...string) string
}

type IDTokenVerifier

type IDTokenVerifier interface {
	VerifyIDToken(ctx context.Context, idToken string) (*auth.Token, error)
}

type UserType

type UserType string
const (
	UserTypeInfluencer UserType = "influencer"
	UserTypeSponsor    UserType = "sponsor"
)

Jump to

Keyboard shortcuts

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