one drive api通过asp.net中的代码登录 [英] one drive api Sign in via code in asp.net

查看:82
本文介绍了one drive api通过asp.net中的代码登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个asp.net应用程序,我想用一个驱动器上传和下载文件。我找到了实时api。



有用于登录一个驱动器的REST Api

https://login.live.com/oauth20_authorize.srf?client_id=CLIENT_ID&scope=SCOPES&response_type=

RESPONSE_TYPE&redirect_uri = REDIRECT_URL


使用此方法如何通过代码登录到一个驱动器(我不想通过浏览器签名)



请帮助

I have an asp.net application in which i want to upload and download files using one drive.I have found the live api for that.

There is REST Api for log in to one drive
https://login.live.com/oauth20_authorize.srf?client_id=CLIENT_ID&scope=SCOPES&response_type=
RESPONSE_TYPE&redirect_uri=REDIRECT_URL

by using this how can i sign in to one drive via code(i dont want to sign through browser)

please help

推荐答案





通过此链接获取4.5:http://www.asp.net/web-api/overview / advanced / calling-a-web-api-from-a-net-client [ ^ ]



for .Net Framework 3.5: http://stackoverflow.com/questions/22397865/call-web-apis-in-c -sharp-using-net-framework-3-5 [ ^ ]


这篇关于one drive api通过asp.net中的代码登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆