Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CGISessionParser ¶
type CGISessionParser struct { MethodHead string SchemeHead string URIHead string IPHead string UAHead string TokenCookieName string Auther *crypto.Auth }
func (*CGISessionParser) ParseSession ¶
func (sp *CGISessionParser) ParseSession(ctx *fiber.Ctx) *Session
ParseSession parses a session from the fiber.Ctx.
type SSOSessionParser ¶
func (*SSOSessionParser) ParseSession ¶
func (sp *SSOSessionParser) ParseSession(ctx *fiber.Ctx) *Session
ParseSession parses a session from the fiber.Ctx.
type Session ¶
type SessionParser ¶
type SessionParser struct { SsoHost string // contains filtered or unexported fields }
func NewSessionParser ¶
func NewSessionParser(conf *config.Server) *SessionParser
NewSessionParser creates a new SessionParser instance. TODO: Use the provided configuration to create a new SessionParser instance.
func (*SessionParser) CGIAuther ¶
func (sp *SessionParser) CGIAuther() *crypto.Auth
func (*SessionParser) Parse ¶
func (sp *SessionParser) Parse(ctx *fiber.Ctx) *Session
func (*SessionParser) SSOAuther ¶
func (sp *SessionParser) SSOAuther() *crypto.Auth
Click to show internal directories.
Click to hide internal directories.