久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何將移動應用程序連接到 AD B2C

How to connect with mobile application to AD B2C(如何將移動應用程序連接到 AD B2C)
本文介紹了如何將移動應用程序連接到 AD B2C的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

限時送ChatGPT賬號..

我在 .net core (3.1) 中有一個 web api.

I' ve a web api in .net core (3.1).

這個網站被 3 個應用程序使用:

This web is used by 3 applications :

  • 網絡應用程序
  • iOS 應用
  • 安卓應用

對于 Web 應用程序,我們使用默認登錄頁面.所以登錄后會有一個重定向到客戶端應用程序.

For the Web Application we use the default login page. so after login there is a redirect to the client application.

對于 Ios 和 Android 應用,我們無法找到可用于獲取令牌的代碼.

For Ios and Android Apps we are not able to find a code that worked in order to get the token.

謝謝.

推薦答案

關于如何獲取 azure ad token 調用 api 的示例有很多.請看這里:https://docs.microsoft.com/en-us/azure/active-directory-b2c/code-samples

there are various samples of how to get azure ad tokens to call apis. please take a look here: https://docs.microsoft.com/en-us/azure/active-directory-b2c/code-samples

特別注意前2個:ios-swift-native-msal和android-native-msal他們基本上就是這樣做的,使用 MSAL 庫來獲取令牌并允許您使用它來調用 Web api.

pay particular attention to the first 2: ios-swift-native-msal and android-native-msal they basically do exactly that, with the MSAL library to get tokens and allow you to use it to call web apis.

這篇關于如何將移動應用程序連接到 AD B2C的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

ASP.NET Core authenticating with Azure Active Directory and persisting custom Claims across requests(ASP.NET Core 使用 Azure Active Directory 進行身份驗證并跨請求保留自定義聲明)
ASP.NET Core 2.0 Web API Azure Ad v2 Token Authorization not working(ASP.NET Core 2.0 Web API Azure Ad v2 令牌授權不起作用)
ASP Core Azure Active Directory Login use roles(ASP Core Azure Active Directory 登錄使用角色)
How do I get Azure AD OAuth2 Access Token and Refresh token for Daemon or Server to C# ASP.NET Web API(如何獲取守護進程或服務器到 C# ASP.NET Web API 的 Azure AD OAuth2 訪問令牌和刷新令牌) - IT屋-程序員軟件開發技
.Net Core 2.0 - Get AAD access token to use with Microsoft Graph(.Net Core 2.0 - 獲取 AAD 訪問令牌以與 Microsoft Graph 一起使用)
Azure KeyVault Active Directory AcquireTokenAsync timeout when called asynchronously(異步調用時 Azure KeyVault Active Directory AcquireTokenAsync 超時)
主站蜘蛛池模板: 精品久久久久久亚洲综合网 | 亚洲狠狠爱 | 在线观看中文字幕 | 国产9 9在线 | 中文 | 成人在线一区二区 | 日韩免费网站 | 二区av| 日韩一区二区三区视频 | 欧美日韩精品一区二区三区四区 | 99爱国产 | 国产精品色 | 欧美日韩在线视频一区 | 91精品国产91久久久久久吃药 | 国产一区二区精品在线观看 | 青青操av | 亚洲成人精选 | 操皮视频 | 免费一区| 久久精品国产一区二区电影 | 美国a级毛片免费视频 | 嫩草视频在线免费观看 | 免费黄色的视频 | 一区天堂 | 免费毛片网 | 国产精品一区二区在线 | 五月综合激情在线 | www.久草.com | 亚洲精品乱码久久久久久按摩观 | 午夜视频在线免费观看 | av黄色在线| 一区二区三区在线观看视频 | 亚洲h在线观看 | 精品av久久久久电影 | 国产成人精品一区二三区在线观看 | 欧美成人精品一区二区男人看 | 久久精点视频 | 女人毛片a毛片久久人人 | 久久综合99 | 亚洲高清在线观看 | 91在线视频播放 | 成人 在线 |