Comrade::Provider
Inherits Enum < Comparable < Value < Object
Enum for supported OAuth providers
Constants
Github = 0
Google = 1
Facebook = 2
Twitter = 3
Discord = 4
Workos = 5
Instance methods
to_provider(config : ProviderConfig) : Providers::BaseProvider
Convert the enum to a provider instance
Example: provider = Provider::Github.to_provider(config)