oauth2_server

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Oauth2Server

type Oauth2Server struct {
	Server             *goc_mini_server.MiniServer
	CallbackValuesChan chan url.Values
}

func (*Oauth2Server) GetAuthCallbackUrl

func (s *Oauth2Server) GetAuthCallbackUrl() string

func (*Oauth2Server) GetHtmlRoot

func (s *Oauth2Server) GetHtmlRoot() string

func (*Oauth2Server) GetPriAuth

func (s *Oauth2Server) GetPriAuth()

func (*Oauth2Server) RegisterEngine

func (s *Oauth2Server) RegisterEngine(engine *gin.Engine)

func (*Oauth2Server) RegisterPriGroup

func (s *Oauth2Server) RegisterPriGroup(g *gin.RouterGroup)

func (*Oauth2Server) RegisterPubGroup

func (s *Oauth2Server) RegisterPubGroup(g *gin.RouterGroup)

func (*Oauth2Server) StartServer

func (s *Oauth2Server) StartServer(opts ...goc_mini_server.Option)

Jump to

Keyboard shortcuts

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