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

Interface CustomDomainAPI

internal/auth0/custom_domain.go:11–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type CustomDomainAPI interface {
12 // Create a new custom domain.
13 Create(ctx context.Context, c *management.CustomDomain, opts ...management.RequestOption) (err error)
14
15 // Read retrieves a custom domain by its id.
16 Read(ctx context.Context, id string, opts ...management.RequestOption) (c *management.CustomDomain, err error)
17
18 // Update a custom domain.
19 Update(ctx context.Context, id string, c *management.CustomDomain, opts ...management.RequestOption) (err error)
20
21 // Delete a custom domain.
22 Delete(ctx context.Context, id string, opts ...management.RequestOption) (err error)
23
24 // Verify a custom domain.
25 Verify(ctx context.Context, id string, opts ...management.RequestOption) (c *management.CustomDomain, err error)
26
27 // List all custom domains.
28 List(ctx context.Context, opts ...management.RequestOption) (c []*management.CustomDomain, err error)
29
30 // ListWithPagination lists all custom domains with support for pagination.
31 ListWithPagination(ctx context.Context, opts ...management.RequestOption) (c *management.CustomDomainList, err error)
32
33 // ReadDefault retrieves the default domain configuration for the tenant.
34 ReadDefault(ctx context.Context, opts ...management.RequestOption) (c *management.CustomDomain, err error)
35
36 // UpdateDefault updates the default domain for the tenant.
37 UpdateDefault(ctx context.Context, c *management.CustomDomain, opts ...management.RequestOption) error
38}

Callers 4

verifyCustomDomainCmdFunction · 0.65
listCustomDomainsCmdFunction · 0.65

Implementers 2

MockCustomDomainAPIinternal/auth0/mock/custom_domain_mock
MockCustomDomainAPIMockRecorderinternal/auth0/mock/custom_domain_mock

Calls

no outgoing calls

Tested by

no test coverage detected