pq

package
v0.0.0-...-c4f7e29 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DependencySet = wire.NewSet(
	wire.Struct(new(AuthorizationStore), "*"),
)

Functions

This section is empty.

Types

type AuthorizationStore

type AuthorizationStore struct {
	SQLBuilder  *appdb.SQLBuilderApp
	SQLExecutor *appdb.SQLExecutor
}

func (*AuthorizationStore) Create

func (s *AuthorizationStore) Create(authz *oauth.Authorization) error

func (*AuthorizationStore) Delete

func (s *AuthorizationStore) Delete(authz *oauth.Authorization) error

func (*AuthorizationStore) Get

func (s *AuthorizationStore) Get(userID, clientID string) (*oauth.Authorization, error)

func (*AuthorizationStore) GetByID

func (s *AuthorizationStore) GetByID(id string) (*oauth.Authorization, error)

func (*AuthorizationStore) ListByUserID

func (s *AuthorizationStore) ListByUserID(userID string) ([]*oauth.Authorization, error)

func (*AuthorizationStore) ResetAll

func (s *AuthorizationStore) ResetAll(userID string) error

func (*AuthorizationStore) UpdateScopes

func (s *AuthorizationStore) UpdateScopes(authz *oauth.Authorization) error

Jump to

Keyboard shortcuts

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