Documentation ¶
Index ¶
- type BadgerStorage
- func (store *BadgerStorage) Delete(entityID string) error
- func (store *BadgerStorage) ListSubordinates(entityType string) (entities []string, err error)
- func (store *BadgerStorage) Load() error
- func (store *BadgerStorage) Read(entityID string) (info SubordinateInfo, err error)
- func (store *BadgerStorage) Write(entityID string, info SubordinateInfo) error
- type JWKStorageBackend
- type SubordinateInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadgerStorage ¶
type BadgerStorage struct {
// contains filtered or unexported fields
}
func NewBadgerStorage ¶
func NewBadgerStorage() *BadgerStorage
func (*BadgerStorage) Delete ¶
func (store *BadgerStorage) Delete(entityID string) error
func (*BadgerStorage) ListSubordinates ¶
func (store *BadgerStorage) ListSubordinates(entityType string) (entities []string, err error)
func (*BadgerStorage) Load ¶
func (store *BadgerStorage) Load() error
func (*BadgerStorage) Read ¶
func (store *BadgerStorage) Read(entityID string) (info SubordinateInfo, err error)
func (*BadgerStorage) Write ¶
func (store *BadgerStorage) Write(entityID string, info SubordinateInfo) error
type JWKStorageBackend ¶
type SubordinateInfo ¶
type SubordinateInfo struct { JWKS jwk.Set `json:"jwks"` EntityType string `json:"entity_type"` EntityID string `json:"entity_id"` }
func (*SubordinateInfo) UnmarshalJSON ¶
func (info *SubordinateInfo) UnmarshalJSON(src []byte) error
Click to show internal directories.
Click to hide internal directories.