nordsoftware/lumen-core

View on GitHub
src/Traits/AuthenticatesUsers.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Nord\Lumen\Core\Traits;

use Nord\Lumen\OAuth2\Contracts\OAuth2Service;

trait AuthenticatesUsers
{
    /**
     * @return OAuth2Service
     */
    private function getOAuth2Service()
    {
        return app(OAuth2Service::class);
    }
}