app\User::getJWTIdentifier PHP Method

getJWTIdentifier() public method

Get the identifier that will be stored in the subject claim of the JWT
public getJWTIdentifier ( ) : mixed
return mixed
    public function getJWTIdentifier()
    {
        return $this->getKey();
    }