MCPcopy Create free account
hub / github.com/authorizerdev/authorizer / AddWebhook

Method AddWebhook

internal/graphql/provider.go:86–86  ·  view source on GitHub ↗

AddWebhook is the method to add webhook. Permissions: authorizer:admin

(ctx context.Context, params *model.AddWebhookRequest)

Source from the content-addressed store, hash-verified

84 // AddWebhook is the method to add webhook.
85 // Permissions: authorizer:admin
86 AddWebhook(ctx context.Context, params *model.AddWebhookRequest) (*model.Response, error)
87 // AdminLogin is the method to login as admin.
88 // Permissions: none
89 AdminLogin(ctx context.Context, params *model.AdminLoginRequest) (*model.Response, error)

Callers 9

TestUpdateWebhookTestFunction · 0.65
TestAddWebhookTestFunction · 0.65
seedWebhookFunction · 0.65
TestAdminAddWebhookGRPCFunction · 0.65
TestDeleteWebhookTestFunction · 0.65
TestWebhooksFunction · 0.65
AddWebhookMethod · 0.65
AddWebhookMethod · 0.65
AddWebhookMethod · 0.65

Calls

no outgoing calls

Tested by 6

TestUpdateWebhookTestFunction · 0.52
TestAddWebhookTestFunction · 0.52
seedWebhookFunction · 0.52
TestAdminAddWebhookGRPCFunction · 0.52
TestDeleteWebhookTestFunction · 0.52
TestWebhooksFunction · 0.52