Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
mode.go1.38 kB
package authentication //go:generate go run github.com/Southclaws/enumerator type modeEnum string // The Authentication Mode value behaves as a suggestion to clients for the // recommended/preferred methods of authentication. It is not a strict rule and // clients may authenticate using any available method. The main reason for this // is to avoid global switch state for the instance which makes certain things // more complex to achieve and test. Clients should respect the authentication // mode value when displaying a registration flow to the user for registering. // // Handle is the default and enables simple username+password signup and login // flows. This mode is very rudimentary and will make use-cases such as sending // marketing emails, newsletters and even certain anti-spam measures impossible. // // Email enables the use of either email+password or email+verification methods // which is the most common but requires an email provider to be configured. // // Phone enables the use of the phone number+verification method which is best // suited to mobile-first use-cases and WhatsApp integration. This mode requires // a phone SMS API provider to be configured for the instance in order to work. const ( modeHandle modeEnum = "handle" // Username (default) modeEmail modeEnum = "email" // Email address modePhone modeEnum = "phone" // Phone number )

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Southclaws/storyden'

If you have feedback or need assistance with the MCP directory API, please join our Discord server