Skip to content

Commit

Permalink
Add line connection strategy (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiught authored Aug 30, 2023
1 parent 2075069 commit 29135bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion management/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ const (
ConnectionStrategyCustom = "custom"
// ConnectionStrategyPingFederate constant.
ConnectionStrategyPingFederate = "pingfederate"
// ConnectionStrategyLine constant.
ConnectionStrategyLine = "line"
)

// Connection is the relationship between Auth0 and a source of users.
Expand Down Expand Up @@ -100,7 +102,7 @@ type Connection struct {
// "planningcenter", "renren", "salesforce-community", "salesforce-sandbox",
// "salesforce", "samlp", "sharepoint", "shopify", "sms", "soundcloud",
// "thecity-sandbox", "thecity", "thirtysevensignals", "twitter", "untappd",
// "vkontakte", "waad", "weibo", "windowslive", "wordpress", "yahoo",
// "vkontakte", "waad", "weibo", "windowslive", "wordpress", "yahoo", "line",
// "yammer", "okta" or "yandex".
Strategy *string `json:"strategy,omitempty"`

Expand Down Expand Up @@ -205,6 +207,7 @@ func (c *Connection) UnmarshalJSON(b []byte) error {
ConnectionStrategyBox,
ConnectionStrategyWordpress,
ConnectionStrategyShopify,
ConnectionStrategyLine,
ConnectionStrategyCustom:
v = &ConnectionOptionsOAuth2{}
case ConnectionStrategyAD:
Expand Down

0 comments on commit 29135bd

Please sign in to comment.