メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
organizations
/
{id}
/
enabled_connections
/
{connectionId}
Go
package example

import (
    context "context"

    client "github.com/auth0/go-auth0/management/management/client"
    option "github.com/auth0/go-auth0/management/management/option"
)

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.Organizations.EnabledConnections.Get(
        context.TODO(),
        "id",
        "connectionId",
    )
}
{
  "assign_membership_on_login": true,
  "connection": {
    "name": "<string>",
    "strategy": "<string>"
  },
  "connection_id": "<string>",
  "is_signup_enabled": true,
  "show_as_button": true
}

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

パスパラメータ

id
string
必須

組織の識別子。

Maximum string length: 50
connectionId
string
必須

接続の識別子。

Required string length: 1 - 50

レスポンス

接続が正常に取得されました。

assign_membership_on_login
boolean

true の場合、この接続でログインするすべてのユーザーに組織のメンバーシップが自動的に付与されます。false の場合、ユーザーがこの接続でログインする前に、そのユーザーに組織のメンバーシップを付与する必要があります。

connection
object
connection_id
string

接続の ID。

is_signup_enabled
boolean

この組織接続で組織のサインアップを有効にするかどうかを決定します。データベース接続にのみ適用されます。既定値: false。

show_as_button
boolean

この組織のログインプロンプトにこの接続を表示するかどうかを決定します。エンタープライズ接続にのみ適用されます。既定値: true。