smsProviderValidation() — supabase Function Reference
Architecture documentation for the smsProviderValidation() function in AuthProvidersFormValidation.tsx from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD 19a08a5e_820f_d79a_6470_0733446026f5["smsProviderValidation()"] cea6c08c_3446_b168_effe_644c8d16d4af["getPhoneProviderValidationSchema()"] cea6c08c_3446_b168_effe_644c8d16d4af -->|calls| 19a08a5e_820f_d79a_6470_0733446026f5 style 19a08a5e_820f_d79a_6470_0733446026f5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/studio/components/interfaces/Auth/AuthProvidersFormValidation.tsx lines 105–111
const smsProviderValidation = (config: ProjectAuthConfigData, provider: string) => {
return {
is: (EXTERNAL_PHONE_ENABLED: boolean, SMS_PROVIDER: string) => {
return EXTERNAL_PHONE_ENABLED && SMS_PROVIDER === provider && !config.HOOK_SEND_SMS_ENABLED
},
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does smsProviderValidation() do?
smsProviderValidation() is a function in the supabase codebase.
What calls smsProviderValidation()?
smsProviderValidation() is called by 1 function(s): getPhoneProviderValidationSchema.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free