auth

package
v0.1.6-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Callback

func Callback(w http.ResponseWriter, r *http.Request) error

func Login

func Login(w http.ResponseWriter, r *http.Request) error

Types

type GithubResponse

type GithubResponse struct {
	AccessToken string `json:"access_token"`
}

type GithubUser

type GithubUser struct {
	Id    int    `json:"id"`
	Login string `json:"login"`
}

Jump to

Keyboard shortcuts

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