github

package
v1.1.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addition

type Addition struct {
	ClientId     string `json:"client_id" required:"true"`
	ClientSecret string `json:"client_secret" required:"true"`
}

type GitHubUser

type GitHubUser struct {
	ID    int    `json:"id"`
	Login string `json:"login"`
	Email string `json:"email"`
}

type Github

type Github struct {
	Addition
	// contains filtered or unexported fields
}

func (*Github) Destroy

func (g *Github) Destroy() error

func (*Github) GetAuthorizationURL

func (g *Github) GetAuthorizationURL(_ string) (string, string)

func (*Github) GetConfiguration

func (g *Github) GetConfiguration() factory.Configuration

func (*Github) GetName

func (g *Github) GetName() string

func (*Github) Init

func (g *Github) Init() error

func (*Github) OnCallback

func (g *Github) OnCallback(ctx *gin.Context, state string, query map[string]string, _ string) (factory.OidcCallback, error)

Jump to

Keyboard shortcuts

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