mirror of
https://github.com/webmasterskaya/joomla-oauth-server.git
synced 2024-11-23 22:34:50 +03:00
99 lines
2.6 KiB
XML
99 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<form>
|
|
<config>
|
|
<inlinehelp button="show"/>
|
|
</config>
|
|
<fieldset name="global">
|
|
<field
|
|
name="id"
|
|
type="number"
|
|
label="JGLOBAL_FIELD_ID_LABEL"
|
|
default="0"
|
|
readonly="true"
|
|
class="readonly"
|
|
/>
|
|
<field
|
|
name="active"
|
|
type="list"
|
|
label="JSTATUS"
|
|
class="form-select-color-state"
|
|
default="1"
|
|
validate="options"
|
|
>
|
|
<option value="1">JON</option>
|
|
<option value="0">JOFF</option>
|
|
</field>
|
|
<field name="name"
|
|
type="text"
|
|
label="COM_OAUTHSERVER_CLIENT_NAME_LABEL"
|
|
required="1"
|
|
/>
|
|
<field name="public"
|
|
type="list"
|
|
label="COM_OAUTHSERVER_CLIENT_TYPE_LABEL"
|
|
filter="integer"
|
|
default="0">
|
|
<option value="1">COM_OAUTHSERVER_CLIENT_TYPE_PUBLIC</option>
|
|
<option value="0">COM_OAUTHSERVER_CLIENT_TYPE_CONFIDENTIAL</option>
|
|
</field>
|
|
<field
|
|
name="redirect_uris"
|
|
type="subform"
|
|
label="COM_OAUTHSERVER_CLIENT_REDIRECT_URI_LABEL"
|
|
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"
|
|
type="radio"
|
|
layout="joomla.form.field.radio.switcher"
|
|
label="COM_OAUTHSERVER_CLIENT_ALLOW_PLAIN_TEXT_PKCE_LABEL"
|
|
description="COM_OAUTHSERVER_CLIENT_ALLOW_PLAIN_TEXT_PKCE_DESCRIPTION"
|
|
filter="integer"
|
|
default="1">
|
|
<option value="1">JYES</option>
|
|
<option value="0">JNO</option>
|
|
</field>
|
|
<field name="identifier"
|
|
type="text"
|
|
layout="components.oauthserver.field.copy.text"
|
|
readonly="1"
|
|
label="COM_OAUTHSERVER_CLIENT_IDENTIFIER_LABEL"/>
|
|
<field name="secret"
|
|
type="text"
|
|
layout="components.oauthserver.field.copy.text"
|
|
readonly="1"
|
|
label="COM_OAUTHSERVER_CLIENT_SECRET_LABEL"/>
|
|
</fieldset>
|
|
<fieldset name="endpoints">
|
|
<field name="authorize_url"
|
|
type="text"
|
|
layout="components.oauthserver.field.copy.text"
|
|
readonly="1"
|
|
label="COM_OAUTHSERVER_CLIENT_AUTHORIZE_URL_LABEL"/>
|
|
<field name="token_url"
|
|
type="text"
|
|
layout="components.oauthserver.field.copy.text"
|
|
readonly="1"
|
|
label="COM_OAUTHSERVER_CLIENT_TOKEN_URL_LABEL"/>
|
|
<field name="profile_url"
|
|
type="text"
|
|
layout="components.oauthserver.field.copy.text"
|
|
readonly="1"
|
|
label="COM_OAUTHSERVER_CLIENT_PROFILE_URL_LABEL"/>
|
|
</fieldset>
|
|
</form>
|