Giter Club home page Giter Club logo

microsoft-owin-security-sinaweibo's Introduction

Microsoft.Owin.Security.SinaWeibo

Middleware that enables an application to support SinaWeibo OAuth 2.0 authentication workflow.

More information please visit: Katana Project

Please follow my weibo: 瘦不拉叽的SNAKE

Install from nuget: PM> Install-Package Microsoft.Owin.Security.SinaWeibo -Pre(package url)

Or search Microsoft.Owin.Security.SinaWeibo in Nuget package manager, and make sure you selected the Include Prerelease selection of the filter dropdownlist.

这是一个使用新浪账号的第三方账户登录的owin中间件.

更多内容请访问: Katana Project

请关注我的微博: 瘦不拉叽的SNAKE

从Nuget中安装:

在Nuget控制台中输入: Install-Package Microsoft.Owin.Security.SinaWeibo -Pre(package网址) 或在Nuget的包管理器中搜索Microsoft.Owin.Security.SinaWeibo,并确保在包过滤的下拉菜单中选择Include Prerelease(包括预发行版)选项. How to use:

//在你的"Startup"类的"Configure"方法中添加以下代码
//别忘了添加Owin的命名空间.
app.UseSinaWeiboAuthentication(
    appId: "your app id",
    appSecret: "your app secret");

最后:

  1. 进入新浪微博开放平台的管理中心页面选择你要使用的应用.

  2. 点击左侧"应用信息"->"高级信息"

  3. 点击右边的"OAuth2.0 授权设置"的编辑链接

  4. 填写"授权回调页",填入你的网站地址(如:http://weibo.com),网址最后添加上/signin-sinaWeibo,最终组成类似http://weibo.com/signin-sinaWeibo的网址.

  5. 点击"提交".

microsoft-owin-security-sinaweibo's People

Contributors

tinysnake avatar

Watchers

James Cloos avatar Nongzhsh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.