github

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthProvider

func NewAuthProvider(p sdk.AuthProvider) sdk.ServiceProvider

Types

type GitHubIdentityEmail

type GitHubIdentityEmail struct {
	Email string `json:"email"`
}

func (GitHubIdentityEmail) UpdateUserDetails

func (g GitHubIdentityEmail) UpdateUserDetails(user *sdk.User)

type GitHubIdentityName

type GitHubIdentityName struct {
	Name string `json:"name"`
}

func (GitHubIdentityName) UpdateUserDetails

func (g GitHubIdentityName) UpdateUserDetails(user *sdk.User)

type GitHubIdentityProfilePic

type GitHubIdentityProfilePic struct {
	ProfilePic string `json:"avatar_url"`
}

func (GitHubIdentityProfilePic) UpdateUserDetails

func (g GitHubIdentityProfilePic) UpdateUserDetails(user *sdk.User)

type GitHubIdentityUsername

type GitHubIdentityUsername struct {
	Username string `json:"login"`
}

func (GitHubIdentityUsername) UpdateUserDetails

func (g GitHubIdentityUsername) UpdateUserDetails(user *sdk.User)

type TokenResponse

type TokenResponse struct {
	AccessToken string `json:"access_token"`
	ExpiresIn   int    `json:"expires_in"`
	TokenType   string `json:"token_type"`
	Scope       string `json:"scope"`
}

Jump to

Keyboard shortcuts

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