code: function initOAuthHeaderHtml( divId, type , params ) {
  	log( "PoNG-OAuth", "initOAuthHeaderHtml");
  	if ( sessionInfo["OAuth"] == null ) {
  		sessionInfo["OAuth"] = {
  			'scope': '',
  			'tokenURL': '',
  			'access_token': '',
  			'refresh_token': '',
  			'token_type': ''
  		}
  		if ( params != null  &&  params.tokenURL != null && params.scope != null) {
  			sessionInfo["OAuth"]['scope'] = params.scope; 
  			sessionInfo["OAuth"]['tokenURL'] = params.tokenURL; 
  		}
  	}
    publishEvent( 'feedback', { text:'OAuth prepared'} );
  }
docs: 'param' => array(
  'scope'         => $page_tbl_rec[ 'page_oauth_scope' ],
  'tokenURL'      => $page_tbl_rec[ 'page_oauth_tokenurl' ],
  'exit_page'     => $page_tbl_rec[ 'page_oauth_exit_page' ],
  'grandtype'     => $page_tbl_rec[ 'page_oauth_grandtype' ],
  'auth_page'     => $page_tbl_rec[ 'page_oauth_auth_page' ],
  'basicauth'     => $page_tbl_rec[ 'page_oauth_basicauth' ],
  'client_id'     => $page_tbl_rec[ 'page_oauth_client_id' ],
  'client_secret' => $page_tbl_rec[ 'page_oauth_client_secret' ]
  )