2022-03-08 19:42:28 +01:00
|
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
<rougail version="0.10">
|
|
|
|
<variables>
|
|
|
|
<variable name="remotes" description="Remote clients needing to verify OAuth2 account" type="domainname" multi="True" provider="oauth2"/>
|
|
|
|
<family name="oauth2_" description="OAuth2 for" dynamic="oauth2.remotes">
|
|
|
|
<variable name="secret_" description="Remote secret for" type="password" mandatory="True" hidden="True" provider="oauth2_secret"/>
|
|
|
|
<variable name="name_" description="Remote name for" hidden="True" provider="oauth2_name"/>
|
|
|
|
<variable name="description_" description="Remote description for" hidden="True" provider="oauth2_description"/>
|
2022-03-29 16:33:20 +02:00
|
|
|
<variable name="category_" hidden="True" provider="oauth2_category"/>
|
2022-03-08 19:42:28 +01:00
|
|
|
<variable name="login_" description="Remote URL to login" hidden="True" provider="oauth2_login"/>
|
2022-05-07 08:11:18 +02:00
|
|
|
<variable name="external_" description="Remote external for" hidden="True" provider="oauth2_external" multi="True"/>
|
2022-03-29 16:33:20 +02:00
|
|
|
<variable name="logo_" hidden="True" provider="oauth2_logo"/>
|
2022-03-08 19:42:28 +01:00
|
|
|
<variable name="token_signature_algo_" type="choice" description="OAuth2 token signature algorithm" mandatory='True' hidden="True" provider="oauth2_token_signature_algo">
|
|
|
|
<choice>HS512</choice>
|
|
|
|
<choice>RS256</choice>
|
|
|
|
</variable>
|
|
|
|
</family>
|
|
|
|
</variables>
|
|
|
|
<constraints>
|
|
|
|
<fill name="get_password">
|
|
|
|
<param name="server_name" type="variable">domain_name_eth0</param>
|
|
|
|
<param name="username" type="suffix"/>
|
|
|
|
<param name="description">remote</param>
|
|
|
|
<param name="type">cleartext</param>
|
|
|
|
<target>oauth2.oauth2_.secret_</target>
|
|
|
|
</fill>
|
|
|
|
</constraints>
|
|
|
|
</rougail>
|
|
|
|
|