github_oauth

package
v0.0.0-...-8f64456 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(oauthClientId string, oauthSecret string, logger *slog.Logger) *Client

func (*Client) GetProfile

func (c *Client) GetProfile(accessToken string) (usersdomain.GithubProfile, error)

func (*Client) GetToken

func (c *Client) GetToken(code string) (string, error)

Jump to

Keyboard shortcuts

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