Class HookBase
- Namespace
- Auth0.ManagementApi.Models
- Assembly
- Auth0.ManagementApi.dll
Base class for hooks.
public abstract class HookBase
- Inheritance
-
HookBase
- Derived
- Inherited Members
Properties
Dependencies
Gets or sets the dependencies of this hook used by webtask server.
[JsonProperty("dependencies")]
public dynamic Dependencies { get; set; }
Property Value
- dynamic
Enabled
Gets or sets whether the hook is enabled.
[JsonProperty("enabled")]
public bool Enabled { get; set; }
Property Value
Remarks
True if the connection is enabled, false otherwise.
Name
Gets or sets the name of the hook.
[JsonProperty("name")]
public string Name { get; set; }
Property Value
Script
Gets or sets the code to be executed when the hook runs.
[JsonProperty("script")]
public string Script { get; set; }