Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save michael34435/f4e001cf15f1b50017ba8e1168ccbd86 to your computer and use it in GitHub Desktop.
Save michael34435/f4e001cf15f1b50017ba8e1168ccbd86 to your computer and use it in GitHub Desktop.
public function getAuthIdentifierName()
{
return 'id';
}
public function getAuthIdentifier()
{
return $this->id;
}
public function getAuthPassword()
{
return;
}
public function getRememberToken()
{
return;
}
public function setRememberToken($value)
{
return;
}
public function getRememberTokenName()
{
return;
}
public function getJWTIdentifier()
{
return $this->getKey();
}
public function getJWTCustomClaims()
{
return [];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment