meteor-accounts-vk:VKontakte帐​​户的登录OAuth服务(https

  • H8_619715
    了解作者
  • 7KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-06 20:09
    上传日期
流星账户 VKontakte帐​​户的登录服务( )。 用法 使用陨石将包添加到您的项目中: $ meteor add mrt:accounts-vk 配置vkontakte登录服务。 您可以手动执行或使用GUI。 手动:只需将下一个代码添加到您的配置文件中即可。 if ( Meteor . isServer ) { ServiceConfiguration . configurations . remove ( { service : 'vk' } ) ; ServiceConfiguration . configurations . insert ( { service : 'vk' , appId : '1234567' , // Y
meteor-accounts-vk-master.zip
  • meteor-accounts-vk-master
  • package.js
    1.1KB
  • LICENSE
    1.1KB
  • .gitignore
    14B
  • lib
  • vk_server.js
    3.1KB
  • vk_styles.css
    378B
  • vk_configure.html
    421B
  • accounts_vk.js
    712B
  • vk_configure.js
    418B
  • vk_client.js
    1.7KB
  • README.md
    2.3KB
内容介绍
meteor-accounts-vk ================== Login service for VKontakte accounts (https://vk.com). Usage ----- 1. Add the package to your project using meteorite: ```sh $ meteor add mrt:accounts-vk ``` 2. Configure vkontakte login service. You can do mannually or using GUI. **Manually**: Just add next code to your config file. ```js if (Meteor.isServer) { ServiceConfiguration.configurations.remove({ service: 'vk' }); ServiceConfiguration.configurations.insert({ service: 'vk', appId: '1234567', // Your app id secret: 'someappsecret', // Your app secret scope: 'email,status', // Your app scope v: '5.92' // VK API version }); } ``` **GUI**: * Add `accounts-ui` package to your project: ```sh $ meteor add accounts-ui ``` * Set `{{> loginButtons}}` into your template * Go to your browser, open page with `{{> loginButtons}}` * Click on "configure Vk login" button * Fill "App Id", "App Secret", "[Scope](https://vk.com/dev/permissions)" fields in popup window following by instructions 3. Use `Meteor.loginWithVk(options, callback)` for user authentication (you can omit `options` argument). 4. For customization of new user creation you must set 'createUser' event handler: ```js if (Meteor.isServer) { Accounts.onCreateUser(function(options, user) { user.custom_field = "custom value"; // ... return user; }); } ``` ***Enjoy!*** ``` If this package helped you - STAR it on github. This is not difficult for you, but important for me. ``` Contributors ------------ Thanks to these people for their contributions! I appriciate it a lot! * @mike1pol (Mikhail Poluboyarinov) * @Neftedollar * @illfantasy * @Chronosms (Mikhail Smykov) Dependencies ------------ 1. **accounts-base** 2. **accounts-oauth** 3. **accounts-ui** (if you want to use GUI) [![githalytics.com alpha](https://cruel-carlota.pagodabox.com/63ce76383fc2d7e3e960ca8e44371f44 "githalytics.com")](http://githalytics.com/alexpods/meteor-accounts-vs) [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/alexpods/meteor-accounts-vk/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
评论
    相关推荐
    • CasseBrique:https
      CasseBrique:https
    • plaintextoffenders:https
      纯文字罪犯 向报告的域的公开列表
    • 使用socket post 数据到httphttps
      使用socket post 数据到httphttps
    • nodejs http-server开启https的证书
      https证书文件,nodejs http-server开启https的证书,可以直接在本地启动https的协议,方便部署和使用。
    • http https 切换
      http https切换代码,能够实现网站在传输信息的过程中不易遭人盗取
    • Http2Https-crx插件
      将书签中的http转换为https 害怕用https书签替换旧的http书签? 随着许多网站迁移到https,旧的http书签使星标图像为空。 搜索并转换为https! ****************************************************** ***********...
    • LocomotiveCMS https to http-crx插件
      语言:English 将登录网址从https替换为http以进行开发 此扩展程序供使用机车cms开发应用程序时供个人使用。 为了易于在开发模式下使用,此扩展程序将https登录网址替换为http
    • http:https的镜像
      框架HTTP
    • CookieIsolator:分离 HTTPHTTPS cookie
      松散隔离:HTTP cookie 只能在 HTTP 通道中发送,而 HTTPS cookie 可以在 HTTP(不带安全标志)和 HTTPS 通道中发送。 严格隔离:HTTP cookie 和 HTTPS cookie 只能分别在 HTTPHTTPS 通道中发送。 Ext Secure...
    • https协议
      NULL 博文链接:https://willwen.iteye.com/blog/1988199