Чуть более причёсанный конфиг

This commit is contained in:
Artem Vasilev 2024-03-07 23:37:35 +03:00
parent 2636bebd60
commit 705a727f74
3 changed files with 35 additions and 7 deletions

View File

@ -27,13 +27,27 @@
<option value="1">JYES</option> <option value="1">JYES</option>
<option value="0">JNO</option> <option value="0">JNO</option>
</field> </field>
<field name="redirect_uri" <field
type="url" name="redirect_uris"
filter="url" type="subform"
validate="url" label="COM_OAUTHSERVER_CLIENT_REDIRECT_URI_LABEL"
label="COM_OAUTHSERVER_CLIENT_REDIRECT_URI_LABEL" description="COM_OAUTHSERVER_CLIENT_REDIRECT_URI_DESCRIPTION"
description="COM_OAUTHSERVER_CLIENT_REDIRECT_URI_DESCRIPTION"/> multiple="true"
required="true"
hiddenLabel="true"
layout="joomla.form.field.subform.repeatable-table"
>
<form>
<field
label="COM_OAUTHSERVER_CLIENT_REDIRECT_URI_LABEL"
name="uri"
type="url"
filter="url"
validate="url"
class="w-100"
/>
</form>
</field>
<field name="allow_plain_text_pkce" <field name="allow_plain_text_pkce"
type="radio" type="radio"
layout="joomla.form.field.radio.switcher" layout="joomla.form.field.radio.switcher"

View File

@ -14,4 +14,7 @@ COM_OAUTHSERVER_PARAMS_ENABLE_CLIENT_CREDENTIALS_GRANT_LABEL = "Enable client cr
COM_OAUTHSERVER_PARAMS_ENABLE_PASSWORD_GRANT_LABEL = "Enable password grant" COM_OAUTHSERVER_PARAMS_ENABLE_PASSWORD_GRANT_LABEL = "Enable password grant"
COM_OAUTHSERVER_PARAMS_ENABLE_REFRESH_TOKEN_GRANT_LABEL = "Enable refresh token grant" COM_OAUTHSERVER_PARAMS_ENABLE_REFRESH_TOKEN_GRANT_LABEL = "Enable refresh token grant"
COM_OAUTHSERVER_PARAMS_ENABLE_AUTH_CODE_GRANT_LABEL = "Enable auth code grant" COM_OAUTHSERVER_PARAMS_ENABLE_AUTH_CODE_GRANT_LABEL = "Enable auth code grant"
COM_OAUTHSERVER_PARAMS_ENABLE_IMPLICIT_GRANT_LABEL = "Enable implicit grant"
COM_OAUTHSERVER_PARAMS_REQUIRE_CODE_CHALLENGE_FOR_PUBLIC_CLIENTS_LABEL = "Require code challenge for public clients" COM_OAUTHSERVER_PARAMS_REQUIRE_CODE_CHALLENGE_FOR_PUBLIC_CLIENTS_LABEL = "Require code challenge for public clients"
COM_OAUTHSERVER_PARAMS_PRIVATE_KEY_RAW_LABEL = "Private key"
COM_OAUTHSERVER_PARAMS_PUBLIC_KEY_RAW_LABEL = "Public key"

View File

@ -1,5 +1,16 @@
COM_OAUTHSERVER = "OAuth сервер" COM_OAUTHSERVER = "OAuth сервер"
COM_OAUTHSERVER_GENERAL = "Основные"
COM_OAUTHSERVER_PARAMS_BASIC_CONFIG = "Методы авторизации"
COM_OAUTHSERVER_PARAMS_LIFE_TIME_CONFIG = "Время жизни ключей"
COM_OAUTHSERVER_PARAMS_ENCRYPTION_KEY_CONFIG = "Шифрование"
COM_OAUTHSERVER_PARAMS_KEY_METHOD_PASTE_LABEL = "Способ установки приватного ключа"
COM_OAUTHSERVER_PARAMS_KEY_METHOD_PASTE_FILE = "Из файла"
COM_OAUTHSERVER_PARAMS_KEY_METHOD_PASTE_RAW = "Текстом"
COM_OAUTHSERVER_PARAMS_REGENERATE_RAW_KEYS_LABEL = "Сгенерировать новую пару ключей"
COM_OAUTHSERVER_CLIENT_EDIT = "Редактирование клиента" COM_OAUTHSERVER_CLIENT_EDIT = "Редактирование клиента"
COM_OAUTHSERVER_CLIENT_DETAILS = "Основные параметры" COM_OAUTHSERVER_CLIENT_DETAILS = "Основные параметры"