vim-oauth


Ⅰ. 插件描述

oauth access library

Ⅱ. 基本信息

创建日期:  2010-09-10
使用用户:  2
Github星:  9
插件作者:  mattn

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'mattn/vim-oauth'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'mattn/vim-oauth'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'mattn/vim-oauth'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/mattn/vim-oauth

Ⅳ. 文档说明

vim-oauth: oauth access library for vim

Description:

TODO: add document

oauth#requestToken(url, consumer_key, consumer_secret)

  url
  consumer_key
  consumer_secret

oauth#accessToken(url, consumer_key, consumer_secret, request_token, request_token_secret, params)

  url
  request_token
  request_token_secret
  params

oauth#sendData(url, consumer_key, consumer_secret, access_token, access_token_secret, params)

  url
  consumer_key
  consumer_secret
  access_token
  access_token_secret
  params

Example:

see 'twitter.vim'

Require:

curl command : http://curl.haxx.se/

Thanks To:

Yukihiro Nakadaira : http://sites.google.com/site/yukihironakadaira/
    autoload/base64.vim (I added small changes)
    autoload/hmac.vim
    autoload/sha1.vim

添加新评论