public function bearer_token_credentials() {
    $credentials = implode(':', array(
      $this->safe_encode($this->config['consumer_key']),
      $this->safe_encode($this->config['consumer_secret'])
    ));
    return base64_encode($credentials);
  }
public function bearer_token_credentials() {
    $credentials = implode(':', array(
      $this->safe_encode($this->config['consumer_key']),
      $this->safe_encode($this->config['consumer_secret'])
    ));
    return base64_encode($credentials);
  }
public function bearer_token_credentials ( ) { $ credentials = implode ( ':' , array ( $ this -> safe_encode ( $ this -> config [ 'consumer_key' ] ) , $ this -> safe_encode ( $ this -> config [ 'consumer_secret' ] ) ) ) ; return base64_encode ( $ credentials ) ; }
Create the bearer token for OAuth2 requests from the consumer_key and consumer_secret.

@return string the bearer token
Create the bearer token for OAuth2 requests from the consumer_key and consumer_secret .