Documentation
¶
Index ¶
- type SlackSignatureAuth
- func (s *SlackSignatureAuth) Authenticate(ctx context.Context, r *http.Request, p interface{}) bool
- func (s *SlackSignatureAuth) Name() string
- func (s *SlackSignatureAuth) OptionalParams() []string
- func (s *SlackSignatureAuth) ParseParams(m map[string]interface{}) (interface{}, error)
- func (s *SlackSignatureAuth) RequiredParams() []string
- func (s *SlackSignatureAuth) StripAuth(r *http.Request, p interface{})
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 (*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.
Click to show internal directories.
Click to hide internal directories.