package
0.38.0
Repository: https://github.com/weaveworks/weave-gitops.git
Documentation: pkg.go.dev

# Packages

Code generated by counterfeiter.
No description provided by the author

# Functions

NewAuthService constructs an auth service for doing git operations with an authenticated client.
No description provided by the author
No description provided by the author
NewJwtClient initialize JWTClient instance.
No description provided by the author

# Constants

ExpirationTime jwt token expiration time.
It appears we need `repo` scope, which is VERY permissive.
Uniquely identifies us as a GitHub app.

# Variables

No description provided by the author
No description provided by the author
ErrUnauthorizedToken unauthorized token error.

# Structs

Claims is a custom JWT claims that contains some token information.
GithubDeviceCodeResponse represents response body from the Github API.
GitHubError indicates a failure response from GitHub.
No description provided by the author

# Interfaces

No description provided by the author
counterfeiter:generate .
counterfeiter:generate .
JWTClient represents a type that has methods to generate and verify JWT tokens.
No description provided by the author