SocialConfig

@Serializable
data class SocialConfig(val enabled: Boolean, val required: Boolean, val authenticatable: Boolean, val strategy: String, val notSelectable: Boolean, val name: String, val logoUrl: String?)

Configuration for a social authentication provider.

This class defines the settings for a specific OAuth provider, including whether it's enabled, required, and how it should be displayed to users.

Constructors

Link copied to clipboard
constructor(enabled: Boolean, required: Boolean, authenticatable: Boolean, strategy: String, notSelectable: Boolean, name: String, logoUrl: String?)

Properties

Link copied to clipboard

Whether this provider can be used for authentication

Link copied to clipboard

Whether this social provider is enabled

Link copied to clipboard
@SerialName(value = "logo_url")
val logoUrl: String?

The URL of the provider's logo image (optional)

Link copied to clipboard

The display name of the social provider

Link copied to clipboard
@SerialName(value = "not_selectable")
val notSelectable: Boolean

Whether this provider should be hidden from user selection

Link copied to clipboard

Whether this social provider is required for authentication

Link copied to clipboard

The OAuth strategy identifier for this provider