luyadev/luya-module-admin-usertoken

View on GitHub
src/controllers/AppController.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

namespace luya\admin\usertoken\controllers;

/**
 * App Controller.
 *
 * @since 1.0.0
 * @author Basil Suter <git@nadar.io>
 */
class AppController extends \luya\admin\ngrest\base\Controller
{
    /**
     * @var string The path to the model which is the provider for the rules and fields.
     */
    public $modelClass = 'luya\admin\usertoken\models\App';

    /**
     * {@inheritDoc}
     */
    public function getDescription()
    {
        return 'Register an app that will generate an identifier and can be used to make user login calls.';
    }
}