nl_tokens: 构造函数
pl_tokens: function ( options ) { if ( arguments . length < 1 || ! options . appKey || ! options . appSecret ) { throw paramError ; } if ( ! options . private ) { if ( ! options . callbackUrl ) { throw paramError ; } options . scope || ( options . scope = [ 'read_basic' ] ) ; } this . app_key = options . appKey || '' ; this . app_secret = options . appSecret || '' ; this . private = <mask> . private || false ; this . callback_url = options . callbackUrl || '' ; this . scope = options . scope || '' ; this . redirect_url = options . redirectUrl || '' ; this . protocol = options . protocol || config . httpProtocol ; this . host = options . host || config . appHost ; this . _request = new Request ( { protocol : this . protocol , } ) ; }