githubsignature

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubSignatureAuth

type GitHubSignatureAuth struct{}

func (*GitHubSignatureAuth) Authenticate

func (g *GitHubSignatureAuth) Authenticate(ctx context.Context, r *http.Request, p interface{}) bool

func (*GitHubSignatureAuth) Name

func (g *GitHubSignatureAuth) Name() string

func (*GitHubSignatureAuth) OptionalParams

func (g *GitHubSignatureAuth) OptionalParams() []string

func (*GitHubSignatureAuth) ParseParams

func (g *GitHubSignatureAuth) ParseParams(m map[string]interface{}) (interface{}, error)

func (*GitHubSignatureAuth) RequiredParams

func (g *GitHubSignatureAuth) RequiredParams() []string

func (*GitHubSignatureAuth) StripAuth added in v0.2.0

func (g *GitHubSignatureAuth) StripAuth(r *http.Request, p interface{})

StripAuth removes the GitHub signature header from the request.

Jump to

Keyboard shortcuts

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