Total Complexity | 1 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | class SsoController extends Controller |
||
23 | { |
||
24 | // Protected Properties |
||
25 | // ========================================================================= |
||
26 | |||
27 | /** |
||
28 | * @var bool|array Allows anonymous access to this controller's actions. |
||
29 | * The actions must be in 'kebab-case' |
||
30 | * @access protected |
||
31 | */ |
||
32 | protected $allowAnonymous = ['output']; |
||
33 | |||
34 | // Public Methods |
||
35 | // ========================================================================= |
||
36 | |||
37 | /** |
||
38 | * Generate the jsConnect string for single sign on |
||
39 | * |
||
40 | * @param int $userId |
||
41 | * |
||
42 | * @throws \yii\base\ExitException |
||
43 | */ |
||
44 | public function actionOutput(int $userId = 0) |
||
49 |