Table of Contents

Class RuleBase

Namespace
Auth0.ManagementApi.Models
Assembly
Auth0.ManagementApi.dll

Base class for rules.

public abstract class RuleBase
Inheritance
RuleBase
Derived
Inherited Members

Properties

Enabled

Gets or sets whether the rule is enabled.

[JsonProperty("enabled")]
public bool? Enabled { get; set; }

Property Value

bool?

Remarks

True if the connection is enabled, false otherwise.

Name

Gets or sets the name of the rule.

[JsonProperty("name")]
public string Name { get; set; }

Property Value

string

Order

Gets or sets the order of the rule in relation to other rules. A rule with a lower order than another rule executes first.

[JsonProperty("order")]
public int? Order { get; set; }

Property Value

int?

Script

Gets or sets the code to be executed when the rule runs.

[JsonProperty("script")]
public string Script { get; set; }

Property Value

string