store

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() oauth2.ClientStore

Types

type PostgresClientInfo

type PostgresClientInfo struct {
	Id     string
	Secret string
	Domain string
	UserID string
}

func (*PostgresClientInfo) GetDomain

func (ci *PostgresClientInfo) GetDomain() string

func (*PostgresClientInfo) GetID

func (ci *PostgresClientInfo) GetID() string

func (*PostgresClientInfo) GetSecret

func (ci *PostgresClientInfo) GetSecret() string

func (*PostgresClientInfo) GetUserID

func (ci *PostgresClientInfo) GetUserID() string

type PostgresClientStore

type PostgresClientStore struct {
}

func (*PostgresClientStore) GetByID

func (pcs *PostgresClientStore) GetByID(_ context.Context, id string) (ci oauth2.ClientInfo, err error)

Jump to

Keyboard shortcuts

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