storage

package
v0.1.6-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JWKSetsData

type JWKSetsData struct {
	Data []byte
}

type KeysStorage

type KeysStorage interface {
	ReadPrivateKey() (*PrivateKeyData, error)
	WritePrivateKey(key PrivateKeyData) error

	ReadJWKSets() (*JWKSetsData, error)
	WriteJWKSets(jwksSets JWKSetsData) error
}

type PrivateKeyData

type PrivateKeyData struct {
	Data []byte
}

type UserData

type UserData struct {
	Username string
	Password string
	Hash     string
}

type UsersStorage

type UsersStorage interface {
	ReadUserData(username string) (*UserData, error)
	WriteUserData(user UserData) error
}

Directories

Path Synopsis
dynamodb
mongodb
s3

Jump to

Keyboard shortcuts

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