auth

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(config config.Auth, cache cache.Cache) (*Server, error)

func (*Server) AuthenticateSession

func (s *Server) AuthenticateSession(req *api.AuthenticationRequest) (*api.AuthenticationResponse, error)

func (*Server) GetPublicKey

func (s *Server) GetPublicKey() key.PublicKey

func (*Server) RegisterRoutes

func (s *Server) RegisterRoutes(e *echo.Echo, enableEndpoints bool)

func (*Server) RegisterSession

func (s *Server) RegisterSession(req *api.RegisterSessionRequest) (*api.SessionResponse, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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