Current File : /home/tradevaly/public_html/vendor/laravel/sanctum/src/TransientToken.php |
<?php
namespace Laravel\Sanctum;
use Laravel\Sanctum\Contracts\HasAbilities;
class TransientToken implements HasAbilities
{
/**
* Determine if the token has a given ability.
*
* @param string $ability
* @return bool
*/
public function can($ability)
{
return true;
}
/**
* Determine if the token is missing a given ability.
*
* @param string $ability
* @return bool
*/
public function cant($ability)
{
return false;
}
}