{"modulePath":"github.com/tinyci/ci-agents","version":"v0.3.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github\n\n## Variables\n\n```go\nvar ErrRedirect = errors.New(\"redirection\")\n```\nErrRedirect indicates that the error intends to redirect the user to the proper spot.\n\n## Types\n\n```go\ntype AuthServer struct {\n\tH *handler.H\n}\n```\nAuthServer is the handle/entrypoint for all github-based authsvc implementation.\n\n```go\nfunc (as *AuthServer) Capabilities(ctx context.Context, e *empty.Empty) (*auth.StringList, error)\n```\nCapabilities denotes what capabilities the auth server can manage.\n\n```go\nfunc (as *AuthServer) GetOAuthURL(ctx context.Context, scopes *auth.Scopes) (*auth.String, error)\n```\nGetOAuthURL returns the url to redirect the user to.\n\n```go\nfunc (as *AuthServer) OAuthChallenge(ctx context.Context, ocr *auth.OAuthChallengeRequest) (*auth.OAuthInfo, error)\n```\nOAuthChallenge is a remote endpoint for performing the final steps of the oauth handshake.\n\n","path":"github.com/tinyci/ci-agents/api/auth/github","name":"github","synopsis":"","isRedistributable":true}
