Files
playlet-piped/playlet-lib/src/components/Services/ProfilesService/ProfilesService.xml
T
Brahim Hadricheandgithub-action linter 1dcd88a9a4 OAuth refresh token (#601)
* OAuth refresh token

* Lint fix

* tweak refresh logic

* error handling cancelled request

* Ignore endScreenPlaylistRenderer

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>
2025-05-10 21:04:07 -04:00

32 lines
1.3 KiB
XML

<component name="ProfilesService" extends="Node" includes="AutoBind">
<interface>
<!--
The version of the profiles. This is used to determine if the
profiles saved need to be migrated. If the version is less than the
current version, a migration is needed.
-->
<field id="__version" type="integer" value="1" />
<field id="currentProfile" type="node" />
<field id="onProfileLogout" type="boolean" alwaysNotify="true" />
<field id="content" type="node" />
<field id="invidious" type="node" />
<function name="GetProfilesDto" />
<function name="LoginWithProfile" />
<function name="LogoutWithProfile" />
<function name="LogoutWithProfiles" />
<function name="LogoutWithAccessToken" />
<function name="SetCurrentProfile" />
<function name="SaveUserProfilesToRegistry" />
</interface>
<children>
<!-- Note: two content nodes because we're rendering profiles in a RowList on the ProfilesScreen -->
<ContentNode id="ProfilesContent">
<ContentNode>
<ProfileContentNode type="login">
</ProfileContentNode>
</ContentNode>
</ContentNode>
</children>
</component>