slacksignature

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SlackSignatureAuth

type SlackSignatureAuth struct{}

func (*SlackSignatureAuth) Authenticate

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

func (*SlackSignatureAuth) Name

func (s *SlackSignatureAuth) Name() string

func (*SlackSignatureAuth) OptionalParams

func (s *SlackSignatureAuth) OptionalParams() []string

func (*SlackSignatureAuth) ParseParams

func (s *SlackSignatureAuth) ParseParams(m map[string]interface{}) (interface{}, error)

func (*SlackSignatureAuth) RequiredParams

func (s *SlackSignatureAuth) RequiredParams() []string

func (*SlackSignatureAuth) StripAuth added in v0.2.0

func (s *SlackSignatureAuth) StripAuth(r *http.Request, p interface{})

StripAuth removes the Slack signature and timestamp headers from the request.

Jump to

Keyboard shortcuts

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