Download presentation
Presentation is loading. Please wait.
Published byAlannah Riley Modified over 9 years ago
21
Authenticate user AuthenticationContext aCtx = new AuthenticationContext(“https://sts.contoso100.com/adfs"); AuthenticationResult result = await aCtx.AcquireTokenAsync(“https://target.com", clientID); Call the Service HttpClient httpClient = new HttpClient(); httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", result.AccessToken); //...
35
Browser App Token Endpoint ResourceAuthorization Endpoint
39
subhttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier oidhttp://schemas.microsoft.com/identity/claims/objectidentifier upnhttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn tidhttp://schemas.microsoft.com/identity/claims/tenantid
42
JSON Web Token Handler
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.