src/mako/gatekeeper/repositories/user/UserRepository.php
public function getByAccessToken(string $token)
	{
		return $this->setAuthorizer($this->getModel()->where('access_token', '=', $token)->first());
	}
public function getByAccessToken(string $token)
	{
		return $this->setAuthorizer($this->getModel()->where('access_token', '=', $token)->first());
	}
public function getByAccessToken ( string $ token ) { return $ this -> setAuthorizer ( $ this -> getModel ( ) -> where ( 'access_token' , '=' , $ token ) -> first ( ) ) ; }
Fetches a user by its access token.

@param  string                                   $token Access token
@return \mako\gatekeeper\entities\user\User|bool
Fetches a user by its access token .