cliauth

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthConfig

func NewAuthConfig() *oauth2.Config

Types

type Response

type Response struct {
	// Err is set if there was an error which
	// prevented the flow from completing
	Err          error
	Token        *oauth2.Token
	DashboardURL string
}

type Server

type Server struct {
	Response chan Response
}

func NewServer

func NewServer() *Server

func (*Server) Handler

func (s *Server) Handler() http.Handler

Jump to

Keyboard shortcuts

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