epinio

package
v0.0.0-...-f761163 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

Init creates a new Analysis

Types

type Epinio

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

Epinio - Plugin

func (*Epinio) AddAdminGroupRoutes

func (epinio *Epinio) AddAdminGroupRoutes(echoGroup *echo.Group)

AddAdminGroupRoutes adds the admin routes for this plugin to the Echo server

func (*Epinio) AddRootGroupRoutes

func (epinio *Epinio) AddRootGroupRoutes(echoGroup *echo.Group)

func (*Epinio) AddSessionGroupRoutes

func (epinio *Epinio) AddSessionGroupRoutes(echoGroup *echo.Group)

AddSessionGroupRoutes adds the session routes for this plugin to the Echo server

func (*Epinio) Connect

func (epinio *Epinio) Connect(ec echo.Context, cnsiRecord interfaces.CNSIRecord, userId string) (*interfaces.TokenRecord, bool, error)

func (*Epinio) EchoMiddleware

func (epinio *Epinio) EchoMiddleware(h echo.HandlerFunc) echo.HandlerFunc

MiddlewarePlugin interface

func (*Epinio) GetEndpointPlugin

func (epinio *Epinio) GetEndpointPlugin() (interfaces.EndpointPlugin, error)

GetEndpointPlugin gets the endpoint plugin for this plugin

func (*Epinio) GetMiddlewarePlugin

func (epinio *Epinio) GetMiddlewarePlugin() (interfaces.MiddlewarePlugin, error)

GetMiddlewarePlugin gets the middleware plugin for this plugin

func (*Epinio) GetRoutePlugin

func (epinio *Epinio) GetRoutePlugin() (interfaces.RoutePlugin, error)

GetRoutePlugin gets the route plugin for this plugin

func (*Epinio) GetType

func (epinio *Epinio) GetType() string

func (*Epinio) Info

func (epinio *Epinio) Info(apiEndpoint string, skipSSLValidation bool) (interfaces.CNSIRecord, interface{}, error)

func (*Epinio) Init

func (epinio *Epinio) Init() error

Init performs plugin initialization

func (*Epinio) Register

func (epinio *Epinio) Register(echoContext echo.Context) error

func (*Epinio) SessionEchoMiddleware

func (epinio *Epinio) SessionEchoMiddleware(h echo.HandlerFunc) echo.HandlerFunc

MiddlewarePlugin interface

func (*Epinio) UpdateMetadata

func (epinio *Epinio) UpdateMetadata(info *interfaces.Info, userGUID string, echoContext echo.Context)

func (*Epinio) Validate

func (epinio *Epinio) Validate(userGUID string, cnsiRecord interfaces.CNSIRecord, tokenRecord interfaces.TokenRecord) error

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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