handler

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Overview

Package handler implements handler routes for auth webhooks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HasuraDDNAuthHookHandler

type HasuraDDNAuthHookHandler struct {
	// contains filtered or unexported fields
}

HasuraDDNAuthHookHandler implements HTTP handlers for Hasura DDN auth webhook.

func NewHasuraDDNAuthHookHandler

func NewHasuraDDNAuthHookHandler(authenticator authmode.Authenticator) *HasuraDDNAuthHookHandler

NewHasuraDDNAuthHookHandler creates a ddn auth hook handler instance.

func (*HasuraDDNAuthHookHandler) Get

Get handles the auth hook with GET method.

func (*HasuraDDNAuthHookHandler) Post

Post handles the auth hook with POST method.

type HasuraGraphQLEngineAuthHookHandler

type HasuraGraphQLEngineAuthHookHandler struct {
	// contains filtered or unexported fields
}

HasuraGraphQLEngineAuthHookHandler implements an HTTP handler for auth webhook of Hasura GraphQL Engine v1 and v2.

func NewHasuraGraphQLEngineAuthHookHandler

func NewHasuraGraphQLEngineAuthHookHandler(
	authenticator authmode.Authenticator,
) *HasuraGraphQLEngineAuthHookHandler

NewHasuraGraphQLEngineAuthHookHandler creates a auth hook handler for Hasura GraphQL Engine v1 and v2.

func (*HasuraGraphQLEngineAuthHookHandler) Get

Get handles the auth hook with GET method.

func (*HasuraGraphQLEngineAuthHookHandler) Post

Post handles the auth hook with POST method.

Jump to

Keyboard shortcuts

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