diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 38e1abb..78cface 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -2,8 +2,6 @@ - - diff --git a/docs/Maicol07/SSO/Addons/Groups.html b/docs/Maicol07/SSO/Addons/Groups.html index e347765..2e62dd3 100644 --- a/docs/Maicol07/SSO/Addons/Groups.html +++ b/docs/Maicol07/SSO/Addons/Groups.html @@ -26,12 +26,13 @@

+ target="_blank">Thread + + href="https://github.com/maicol07/flarum-sso-php-plugin" + target="_blank"> @@ -96,7 +97,7 @@

Properties

from Core See the code on Github @@ -125,36 +126,37 @@

Properties

from Core See the code on Github - + protected - $flarum + $required - from from Core See the code on Github - - + + protected - $set_groups_admins + $flarum - + from Core See the code on Github @@ -181,7 +183,7 @@

Methods

href="../../../Maicol07/SSO/Addons/Core.html#method___construct">Core
- See the code on Github @@ -202,7 +204,7 @@

Methods

href="../../../Maicol07/SSO/Addons/Core.html#method_load">Core
- See the code on Github @@ -223,7 +225,7 @@

Methods

href="../../../Maicol07/SSO/Addons/Core.html#method_unload">Core
- See the code on Github @@ -240,7 +242,7 @@

Methods

Sets groups to a user

- See the code on Github @@ -258,7 +260,7 @@

Methods

- See the code on Github @@ -277,9 +279,9 @@

in Core at - line 25 + line 29

@@ -319,9 +321,9 @@

in Core at - line 37 + line 41 in Core at - line 65 + line 80 Return Value

void @@ -423,9 +425,9 @@

Return Value

@@ -457,11 +459,12 @@

Parameters

diff --git a/docs/Maicol07/SSO/Flarum.html b/docs/Maicol07/SSO/Flarum.html index 3df9db1..325fe11 100644 --- a/docs/Maicol07/SSO/Flarum.html +++ b/docs/Maicol07/SSO/Flarum.html @@ -397,7 +397,27 @@

Methods

href="../../Maicol07/SSO/Traits/Addons.html#method_setAddonProperties">Addons
- + See the code on Github + + +
+ +
+
+ bool +
+
+ isAddonLoaded(string $addon) + +

No description

+
+
from Addons
+
+ See the code on Github @@ -417,7 +437,7 @@

Methods

href="../../Maicol07/SSO/Traits/Addons.html#method_action_hook">Addons
- See the code on Github @@ -437,7 +457,7 @@

Methods

href="../../Maicol07/SSO/Traits/Addons.html#method_filter_hook">Addons
- See the code on Github @@ -455,7 +475,7 @@

Methods

- See the code on Github @@ -473,7 +493,7 @@

Methods

- See the code on Github @@ -491,7 +511,7 @@

Methods

- See the code on Github @@ -509,7 +529,7 @@

Methods

- See the code on Github @@ -527,7 +547,7 @@

Methods

- See the code on Github @@ -544,7 +564,7 @@

Methods

Redirects the user to your Flarum instance

- See the code on Github @@ -934,9 +954,9 @@

in Addons at - line 43 + line 50

Return Value

+ +
+

+ + bool + isAddonLoaded(string $addon) + +

+
+ + +
+

Parameters

+ + + + + + + +
string$addon
+ + +

Return Value

+ + + + + + +
bool
+ + +
+
+

@@ -985,9 +1049,9 @@

in Addons at - line 58 + line 76

int|null @@ -1029,9 +1093,9 @@

in Addons at - line 81 + line 99 @@ -1066,9 +1130,9 @@

Parameters

@@ -1098,9 +1162,9 @@

Parameters

bool @@ -1130,9 +1194,9 @@

Return Value

Return Value

Collection @@ -1216,9 +1280,9 @@

Return Value

@@ -1248,9 +1312,9 @@

Parameters

void diff --git a/docs/classes.html b/docs/classes.html index ab06d54..f387e55 100644 --- a/docs/classes.html +++ b/docs/classes.html @@ -156,6 +156,23 @@

Classes

+
+
+ Basic + +
+
+ +
+
+ + See the code on Github + + +
+
A

B

+
BasicClass in + namespace Maicol07\SSO\Traits
+
$Attributes#bioProperty in class Attributes @@ -341,6 +345,13 @@

C

D

+
Basic::delete() + — Method in class Basic
+
Deletes a user from Flarum database. Generally, you should use this method when an user + successfully deleted + his account from your SSO system (or main website) +
Cookies::deleteRememberTokenCookie() — Method in class L

class Addons
+
Basic::login() + — Method in class Basic
+
Auth::login() — Method in class R

S

-
$Groups#set_groups_adminsProperty - in class Groups -
-
Groups::setGroups() — Method in class U

class Addons
+
Basic::update() + — Method in class Basic
+
Updates a user. Warning! User needs to be find with username or email, so one of those two has + to be the old one +
UserClass in namespace Maicol07\SSO
diff --git a/docs/renderer.index b/docs/renderer.index index b90cf9b..6a2d8fc 100644 --- a/docs/renderer.index +++ b/docs/renderer.index @@ -1 +1 @@ -C:21:"Doctum\Renderer\Index":1097:{a:3:{i:0;a:10:{s:24:"Maicol07\SSO\Addons\Core";s:40:"7df05026447602355f5bf692183c6ce09ac10f5d";s:26:"Maicol07\SSO\Addons\Groups";s:40:"739dc5e5188ccdc04f885d0f4f691cd65750daf4";s:53:"Maicol07\SSO\Exceptions\MissingRequiredAddonException";s:40:"8101b7372a7aaa4e630f1fddf779e4dc79ddbc0b";s:19:"Maicol07\SSO\Flarum";s:40:"5a2d18aa6c729fe59fe208fbe938c1894e918178";s:26:"Maicol07\SSO\Traits\Addons";s:40:"d282adbd623baa4a66dfe27dee7eb4d373d3350f";s:27:"Maicol07\SSO\Traits\Cookies";s:40:"2bf7b833c057d347bc6fc01eeede298c8d8d3c01";s:17:"Maicol07\SSO\User";s:40:"fa05c0c582a8e0628ff60b2e6370a1483fa6396a";s:28:"Maicol07\SSO\User\Attributes";s:40:"ffa454365096a97c27e99267b3913edf7c043632";s:31:"Maicol07\SSO\User\Relationships";s:40:"0bc7ea46ac27cea5eda88acc0b62a58e1065db1f";s:29:"Maicol07\SSO\User\Traits\Auth";s:40:"5b90c289ba3b68f3864b4699e496d94778f9e306";}i:1;a:1:{i:0;s:4:"main";}i:2;a:7:{i:0;s:8:"Maicol07";i:1;s:12:"Maicol07\SSO";i:2;s:19:"Maicol07\SSO\Addons";i:3;s:23:"Maicol07\SSO\Exceptions";i:4;s:19:"Maicol07\SSO\Traits";i:5;s:17:"Maicol07\SSO\User";i:6;s:24:"Maicol07\SSO\User\Traits";}}} \ No newline at end of file +C:21:"Doctum\Renderer\Index":1178:{a:3:{i:0;a:11:{s:24:"Maicol07\SSO\Addons\Core";s:40:"7df05026447602355f5bf692183c6ce09ac10f5d";s:26:"Maicol07\SSO\Addons\Groups";s:40:"1c998d66f0c4854aa57a416d9b7a7673f46f9d07";s:53:"Maicol07\SSO\Exceptions\MissingRequiredAddonException";s:40:"8101b7372a7aaa4e630f1fddf779e4dc79ddbc0b";s:19:"Maicol07\SSO\Flarum";s:40:"0d818b575722745dfd0cda35f038878a0c7527f6";s:26:"Maicol07\SSO\Traits\Addons";s:40:"d282adbd623baa4a66dfe27dee7eb4d373d3350f";s:25:"Maicol07\SSO\Traits\Basic";s:40:"7fbec237a1c6453371da093baf25c211b321398b";s:27:"Maicol07\SSO\Traits\Cookies";s:40:"2bf7b833c057d347bc6fc01eeede298c8d8d3c01";s:17:"Maicol07\SSO\User";s:40:"fa05c0c582a8e0628ff60b2e6370a1483fa6396a";s:28:"Maicol07\SSO\User\Attributes";s:40:"ffa454365096a97c27e99267b3913edf7c043632";s:31:"Maicol07\SSO\User\Relationships";s:40:"0bc7ea46ac27cea5eda88acc0b62a58e1065db1f";s:29:"Maicol07\SSO\User\Traits\Auth";s:40:"5b90c289ba3b68f3864b4699e496d94778f9e306";}i:1;a:1:{i:0;s:4:"main";}i:2;a:7:{i:0;s:8:"Maicol07";i:1;s:12:"Maicol07\SSO";i:2;s:19:"Maicol07\SSO\Addons";i:3;s:23:"Maicol07\SSO\Exceptions";i:4;s:19:"Maicol07\SSO\Traits";i:5;s:17:"Maicol07\SSO\User";i:6;s:24:"Maicol07\SSO\User\Traits";}}} \ No newline at end of file diff --git a/docs/sami.js b/docs/sami.js index 3516c5d..baa9866 100644 --- a/docs/sami.js +++ b/docs/sami.js @@ -5,7 +5,7 @@ window.projectVersion = 'main'; var bhIndex = null; var rootPath = ''; - var treeHtml = ''; + var treeHtml = ''; var searchTypeClasses = { 'Namespace': 'label-default', @@ -250,6 +250,42 @@ window.projectVersion = 'main'; "null" }, + { + "type": "Trait" + , + "fromName": "Maicol07\\SSO\\Traits", + "fromLink": "Maicol07/SSO/Traits.html", "link": "Maicol07/SSO/Traits/Basic.html", + "name": "Maicol07\\SSO\\Traits\\Basic", + "doc": "null" + }, + { + "type": + "Method", "fromName": + "Maicol07\\SSO\\Traits\\Basic", "fromLink": + "Maicol07/SSO/Traits/Basic.html", "link": + "Maicol07/SSO/Traits/Basic.html#method_login", "name": + "Maicol07\\SSO\\Traits\\Basic::login", "doc": + "null" + }, + { + "type": + "Method", "fromName": + "Maicol07\\SSO\\Traits\\Basic", "fromLink": + "Maicol07/SSO/Traits/Basic.html", "link": + "Maicol07/SSO/Traits/Basic.html#method_update", "name": + "Maicol07\\SSO\\Traits\\Basic::update", "doc": + ""Updates a user. Warning! User needs to be find with username or email, so one of those two has to be the old one"" + }, + { + "type": + "Method", "fromName": + "Maicol07\\SSO\\Traits\\Basic", "fromLink": + "Maicol07/SSO/Traits/Basic.html", "link": + "Maicol07/SSO/Traits/Basic.html#method_delete", "name": + "Maicol07\\SSO\\Traits\\Basic::delete", "doc": + ""Deletes a user from Flarum database. Generally, you should use this method when an user successfully deleted\nhis account from your SSO system (or main website)"" + }, + { "type": "Trait" , diff --git a/docs/traits.html b/docs/traits.html index 69f47e4..126b75b 100644 --- a/docs/traits.html +++ b/docs/traits.html @@ -87,6 +87,22 @@

Traits

+
+
+ Basic +
+
+ +
+
+ + See the code on Github + + +
+