久久久久久久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 超時)
主站蜘蛛池模板: 国产精品成人在线播放 | 精品久久久久久久久久 | 久久久久久久香蕉 | 欧美综合久久 | 美国黄色一级片 | 永久免费视频 | 国产午夜精品视频 | 国产美女高潮 | 正在播放国产精品 | 午夜精品久久久久久久99黑人 | 亚洲精品一区二区三区丝袜 | 日本免费黄色 | 国产一级免费视频 | 日本一区二区在线视频 | 久色一区 | 超级乱淫av片免费播放 | 午夜精品一区二区三区在线 | 涩在线| 欧美在线视频免费 | 中文字幕日韩欧美一区二区三区 | 久久免费视频1 | 韩日在线| 亚洲精品v日韩精品 | 国产馆| 国外成人免费视频 | 一级国产精品一级国产精品片 | 亚洲a毛片 | 国产精品久久久久久久久久久免费看 | 亚洲va欧美va天堂v国产综合 | 亚洲天堂一区 | 麻豆一区| 日日骚视频 | 成人黄色在线 | 在线国产小视频 | 一区二区三区精品视频 | 黄色亚洲 | 日日艹夜夜艹 | 欧美xxxx色视频在线观看免费 | 欧美国产日韩一区二区三区 | 国产电影一区二区 | 人人看人人射 |