github

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package github implements the logic to detect Github tokens

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppRefreshTokenDetector

func NewAppRefreshTokenDetector() veles.Detector

NewAppRefreshTokenDetector returns a new Veles Detector that finds Github app refresh tokens

func ValidateChecksum

func ValidateChecksum(token []byte) bool

ValidateChecksum validates a GitHub token

Types

type AppRefreshToken

type AppRefreshToken struct {
	Token string
}

AppRefreshToken contains a Github App refresh token

Jump to

Keyboard shortcuts

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