v2

package
v0.0.244 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubTokenResponse

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

type GoogleTokenResponse

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

type POSTAuthRequest

type POSTAuthRequest struct {
	Provider string
	Code     string
}

type POSTPilotPairRequest

type POSTPilotPairRequest struct {
	PairToken string `json:"pair_token"`
}

type PilotPairJWTClaims

type PilotPairJWTClaims struct {
	Identity string `json:"identity"`
	Pair     bool   `json:"pair,omitempty"`
	jwt.RegisteredClaims
}

type RegisterJWTClaims

type RegisterJWTClaims struct {
	Register bool `json:"register,omitempty"`
	jwt.RegisteredClaims
}

Jump to

Keyboard shortcuts

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