controllers

package
v0.1.7-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	Log         *slog.Logger
	UserStorage storage.UsersStorage
	KeyStorage  storage.KeysStorage
	TokenIssuer token.TokenIssuer
}

func (*Controller) GetJWKS

func (c *Controller) GetJWKS() (*string, error)

func (*Controller) Login

func (c *Controller) Login(username, password string) (*string, error)

func (*Controller) Refresh

func (c *Controller) Refresh(refreshToken string) (*string, error)

func (*Controller) Register

func (c *Controller) Register(username, password string) (*string, error)

func (*Controller) RotateKeys

func (c *Controller) RotateKeys() error

Jump to

Keyboard shortcuts

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