簡體   English   中英

通過Xamarin.Forms項目中的C#從GitHub API生成個人訪問令牌

[英]Generate personal access token from GitHub API via C# in Xamarin.Forms project

我正在開發移動GitHub客戶端,我需要從代碼而不是從github網站生成個人訪問令牌。 它是Xamarin.Forms項目,所以它是pcl和c#。 我知道有一種方法,因為這個https://github.com/jonan/ForkHub應用程序正在執行此操作。 這是使用python完成的: http : //kinto.readthedocs.io/en/stable/tutorials/authentication-github.html我該怎么做?

問題是我看不到簡單的單詞,不需要客戶端ID和密碼,因此我使用了https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization,並且一切正常。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM