Skip to content

Commit

Permalink
Remove unused struct
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-rich committed Aug 1, 2023
1 parent 68dad1d commit ce8c921
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pkg/detectors/github_oauth2/github_oauth2.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,6 @@ const (
githubBadVerificationCodeError = "bad_verification_code"
)

// TODO: Add secret context?? Information about access, ownership etc
type userRes struct {
Login string `json:"login"`
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
Name string `json:"name"`
Company string `json:"company"`
UserURL string `json:"html_url"`
}

// Keywords are used for efficiently pre-filtering chunks.
// Use identifiers in the secret preferably, or the provider name.
func (s Scanner) Keywords() []string {
Expand Down

0 comments on commit ce8c921

Please sign in to comment.