MCPcopy Create free account
hub / github.com/auth0/auth0-cli / RuleAPI

Interface RuleAPI

internal/auth0/rule.go:11–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type RuleAPI interface {
12 // Create a new rule.
13 //
14 // Note: Changing a rule's stage of execution from the default `login_success`
15 // can change the rule's function signature to have user omitted.
16 Create(ctx context.Context, r *management.Rule, opts ...management.RequestOption) error
17
18 // Retrieve rule details. Accepts a list of fields to include or exclude in the result.
19 Read(ctx context.Context, id string, opts ...management.RequestOption) (r *management.Rule, err error)
20
21 // Update an existing rule.
22 Update(ctx context.Context, id string, r *management.Rule, opts ...management.RequestOption) error
23
24 // Delete a rule.
25 Delete(ctx context.Context, id string, opts ...management.RequestOption) error
26
27 // List all rules.
28 List(ctx context.Context, opts ...management.RequestOption) (r *management.RuleList, err error)
29}

Callers 24

createZipFunction · 0.65
TestUnzip_IllegalPathFunction · 0.65
copyFileFunction · 0.65
createNetworkACLCmdFunction · 0.65
GenMarkdownTreeFunction · 0.65
TestCleanOutputDirectoryFunction · 0.65
updateEmailProviderCmdFunction · 0.65
updateUserCmdFunction · 0.65

Implementers 15

MockTokenExchangeAPIinternal/auth0/mock/token_exchange_moc
MockTokenExchangeAPIMockRecorderinternal/auth0/mock/token_exchange_moc
MockNetworkACLAPIinternal/auth0/mock/network_acl_mock.g
MockNetworkACLAPIMockRecorderinternal/auth0/mock/network_acl_mock.g
MockActionAPIinternal/auth0/mock/action_mock.go
MockActionAPIMockRecorderinternal/auth0/mock/action_mock.go
MockClientAPIinternal/auth0/mock/client_mock.go
MockClientAPIMockRecorderinternal/auth0/mock/client_mock.go
MockCustomDomainAPIinternal/auth0/mock/custom_domain_mock
MockCustomDomainAPIMockRecorderinternal/auth0/mock/custom_domain_mock
MockFlowAPIinternal/auth0/mock/flow_mock.go
MockFlowAPIMockRecorderinternal/auth0/mock/flow_mock.go

Calls

no outgoing calls

Tested by

no test coverage detected