MCPcopy Create free account
hub / github.com/Authula/authula / initializeProvider

Method initializeProvider

plugins/email/plugin.go:83–105  ·  view source on GitHub ↗

initializeProvider creates a provider instance based on the provider type isPrimary indicates whether this is a primary provider (returns error) or fallback (logs warning)

(providerType emailtypes.EmailProviderType, isPrimary bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

InitMethod · 0.95

Calls 2

NewSMTPProviderFunction · 0.92
NewResendProviderFunction · 0.92

Tested by

no test coverage detected