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

Function NewAPI

internal/auth0/auth0.go:45–78  ·  view source on GitHub ↗
(m *management.Management)

Source from the content-addressed store, hash-verified

43}
44
45func NewAPI(m *management.Management) *API {
46 return &API{
47 Action: m.Action,
48 Anomaly: m.Anomaly,
49 AttackProtection: m.AttackProtection,
50 Branding: m.Branding,
51 BrandingTheme: m.BrandingTheme,
52 Client: m.Client,
53 ClientGrant: m.ClientGrant,
54 Connection: m.Connection,
55 CustomDomain: m.CustomDomain,
56 EmailTemplate: m.EmailTemplate,
57 EmailProvider: m.EmailProvider,
58 EventStream: m.EventStream,
59 Flow: m.Flow,
60 FlowVaultConnection: m.Flow.Vault,
61 Form: m.Form,
62 Log: m.Log,
63 LogStream: m.LogStream,
64 Organization: m.Organization,
65 NetworkACL: m.NetworkACL,
66 Prompt: m.Prompt,
67 ResourceServer: m.ResourceServer,
68 Role: m.Role,
69 Rule: m.Rule,
70 Tenant: m.Tenant,
71 TokenExchange: m.TokenExchangeProfile,
72 User: m.User,
73 Jobs: m.Job,
74 SelfServiceProfile: m.SelfServiceProfile,
75 UserAttributeProfile: m.UserAttributeProfile,
76 HTTPClient: m,
77 }
78}
79
80type APIV2 struct {
81 AttackProtectionBotDetection AttackProtectionBotDetectionAPIV2

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected