src/PDFfiller.php
public function getAccessToken($grant = 'client_credentials', array $options = [])
    {
        if($this->accessToken !== null) {
            return $this->accessToken;
        }

        return $this->accessToken = $this->issueAccessToken($grant, $options);
    }
public function getAccessToken($grant = 'client_credentials', array $options = [])
    {
        if($this->accessToken !== null) {
            return $this->accessToken;
        }

        return $this->accessToken = $this->issueAccessToken($grant, $options);
    }
public function getAccessToken ( $ grant = 'client_credentials' , array $ options = [ ] ) { if ( $ this -> accessToken !== null ) { return $ this -> accessToken ; } return $ this -> accessToken = $ this -> issueAccessToken ( $ grant , $ options ) ; }
Returns an access token object

@param string $grant
@param array $options
@return AccessToken
Returns an access token object