providers

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DummyProvider added in v0.1.4

type DummyProvider struct {
	// contains filtered or unexported fields
}

func NewDummyProvider added in v0.1.4

func NewDummyProvider(jwt domain.JwtGenerator) *DummyProvider

func (DummyProvider) VerifyToken added in v0.1.4

func (d DummyProvider) VerifyToken(ctx context.Context, token string) (uid string, claims map[string]interface{}, err error)

type GoogleProvider

type GoogleProvider struct {
	// contains filtered or unexported fields
}

func NewGoogleProvider

func NewGoogleProvider(ctx context.Context, configFileName string) *GoogleProvider

func (*GoogleProvider) VerifyToken

func (g *GoogleProvider) VerifyToken(ctx context.Context, token string) (uid string, claims map[string]interface{}, err error)

Jump to

Keyboard shortcuts

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