Class CreateHookRequestContent
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
[Serializable]
public record CreateHookRequestContent : IEquatable<CreateHookRequestContent>
- Inheritance
-
CreateHookRequestContent
- Implements
- Inherited Members
- Extension Methods
Properties
Dependencies
[JsonPropertyName("dependencies")]
public Dictionary<string, string>? Dependencies { get; set; }
Property Value
Enabled
Whether this hook will be executed (true) or ignored (false).
[JsonPropertyName("enabled")]
public bool? Enabled { get; set; }
Property Value
- bool?
Name
Name of this hook.
[JsonPropertyName("name")]
public required string Name { get; set; }
Property Value
Script
Code to be executed when this hook runs.
[JsonPropertyName("script")]
public required string Script { get; set; }
Property Value
TriggerId
Execution stage of this rule. Can be credentials-exchange, pre-user-registration, post-user-registration, post-change-password, or send-phone-message.
[JsonPropertyName("triggerId")]
public required HookTriggerIdEnum TriggerId { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.