Documentation
¶
Overview ¶
Package sqlstore persists OIDC pending states and bindings via database/sql.
Index ¶
- Constants
- type Store
- func (s *Store) LookupBinding(ctx context.Context, provider oidc.ProviderID, subject string) (oidc.Binding, error)
- func (s *Store) LookupBindingsByAccount(ctx context.Context, accountID string) ([]oidc.Binding, error)
- func (s *Store) PutBinding(ctx context.Context, b oidc.Binding) error
- func (s *Store) PutPending(ctx context.Context, p oidc.Pending) error
- func (s *Store) TakePending(ctx context.Context, digest [32]byte) (oidc.Pending, error)
Constants ¶
View Source
const Schema = `` /* 592-byte string literal not displayed */
Schema is applied idempotently by Open.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a multi-host oidc.Store.
func (*Store) LookupBinding ¶
func (*Store) LookupBindingsByAccount ¶
Click to show internal directories.
Click to hide internal directories.