v1beta

package
v0.0.0-...-c78303b Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TTL_IN_SECONDS_KEY   = "ttlInSeconds"
	STORAGE_KEY_TEMPLATE = "state:store:%s:%s"
)
View Source
const (
	LOGIN_PROVIDER_FORM_PASSWORD = models.LOGIN_PROVIDER_FORM_PASSWORD
	LOGIN_PROVIDER_SMS_OTP_CODE  = models.LOGIN_PROVIDER_SMS_OTP_CODE
)
View Source
const (
	REALM_ADMIN = "admin"
)

Variables

This section is empty.

Functions

func NewStateStoreServiceServer

func NewStateStoreServiceServer(rdb rueidis.Client) state.StateStoreServiceServer

func NewUsersServiceServer

func NewUsersServiceServer(bdb bun.IDB) iam.UsersServiceServer

Types

type LoginProvider

type LoginProvider interface {
	Name() string
	Login(ctx context.Context, realm, username, password, idToken string, scope []string) (*models.Login, error)
}

func NewFormPasswordLoginProvider

func NewFormPasswordLoginProvider(bdb bun.IDB) LoginProvider

func NewSMSOTPCodeLoginProvider

func NewSMSOTPCodeLoginProvider() LoginProvider

type ObjectStoreService

type ObjectStoreService struct {
	// contains filtered or unexported fields
}

func NewObjectStoreService

func NewObjectStoreService(config config.ServerMinIOConfig, logger logging.Logger) (*ObjectStoreService, error)

func (*ObjectStoreService) PutObject

func (s *ObjectStoreService) PutObject(w http.ResponseWriter, r *http.Request, pathParams map[string]string)

func (*ObjectStoreService) ServerMuxRoutes

func (s *ObjectStoreService) ServerMuxRoutes() []server.ServerMuxRoute

Jump to

Keyboard shortcuts

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