public function createAuthToken() {
    $url = URIResource::Make($this->path, array($this->id, 'tokens'));
    $token = $this->client->post($url, null);
    return new EndpointsToken($token);
  }
public function createAuthToken() {
    $url = URIResource::Make($this->path, array($this->id, 'tokens'));
    $token = $this->client->post($url, null);
    return new EndpointsToken($token);
  }
public function createAuthToken ( ) { $ url = URIResource :: Make ( $ this -> path , array ( $ this -> id , 'tokens' ) ) ; $ token = $ this -> client -> post ( $ url , null ) ; return new EndpointsToken ( $ token ) ; }
create an auth token
and return it as a EndpointsToken
object more on this in types

@returns EndpointsToken
create an auth token and return it as a EndpointsToken object more on this in types