| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| |
| plugin: |
| basic_connector: |
| backend: |
| name: |
| other: 通用连接器 |
| info: |
| name: |
| other: 通用连接器 |
| description: |
| other: 适用于各种 OAuth 登录的通用插件 |
| config: |
| name: |
| title: |
| other: 名称 |
| description: |
| other: 在登录页面上显示的连接器名称 |
| client_id: |
| title: |
| other: 客户端ID |
| description: |
| other: 您的应用程序的客户端ID |
| client_secret: |
| title: |
| other: 客户端密钥 |
| description: |
| other: 您的应用程序的客户端密钥 |
| authorize_url: |
| title: |
| other: 授权URL |
| description: |
| other: 您的应用程序的授权URL |
| token_url: |
| title: |
| other: 令牌URL |
| description: |
| other: 您的应用程序的令牌URL |
| user_json_url: |
| title: |
| other: 用户JSON URL |
| description: |
| other: 从此URL获取用户信息 |
| user_id_json_path: |
| title: |
| other: 用户ID JSON路径 |
| description: |
| other: "OAuth2用户JSON中用户ID的路径。例如:user.id" |
| user_display_name_json_path: |
| title: |
| other: 用户显示名称JSON路径 |
| description: |
| other: "OAuth2用户JSON中用户显示名称的路径。例如:user.name" |
| user_username_json_path: |
| title: |
| other: 用户用户名JSON路径 |
| description: |
| other: "OAuth2用户JSON中用户用户名的路径。例如:user.login" |
| user_email_json_path: |
| title: |
| other: 用户电子邮件JSON路径 |
| description: |
| other: "OAuth2用户JSON中用户电子邮件的路径。例如:user.email" |
| user_avatar_json_path: |
| title: |
| other: 用户头像JSON路径 |
| description: |
| other: "OAuth2用户JSON中用户头像的路径。例如:user.avatar_url" |
| check_email_verified: |
| title: |
| other: 检查电子邮件已验证 |
| label: |
| other: OAuth2网站已经验证了该电子邮件 |
| email_verified_json_path: |
| title: |
| other: 电子邮件已验证JSON路径 |
| description: |
| other: "OAuth2用户JSON中电子邮件验证的路径。例如:user.email_verified" |
| scope: |
| title: |
| other: 范围(Scope) |
| description: |
| other: "您的应用程序的OAuth范围。多个 Scope 以 `,` 分隔,如:user.email,user.age" |
| logo_svg: |
| title: |
| other: 徽标SVG |
| description: |
| other: "应用程序徽标的SVG格式,格式为base64" |