Presentation is loading. Please wait.

Presentation is loading. Please wait.

SYNC DEMO “We bought Grandma a new TV. This is what my Dad did to her remote.”

Similar presentations


Presentation on theme: "SYNC DEMO “We bought Grandma a new TV. This is what my Dad did to her remote.”"— Presentation transcript:

1

2

3

4

5

6 SYNC

7

8

9 DEMO

10

11 “We bought Grandma a new TV. This is what my Dad did to her remote.” http://imgur.com/r/funny/Q8GMvsa

12 app.SetDefaultSignInAsAuthenticationType(CookieAuthenticationDefaults.AuthenticationType); app.UseCookieAuthentication(new CookieAuthenticationOptions { }); app.UseOpenIdConnectAuthentication(new OpenIdConnectAuthenticationOptions { Client_Id = "d71c88d1-f3d3-47e9-8313-06bc9af9a991", Authority = "https://login.windows.net/common/"https://login.windows.net/common/ }); [Authorize]

13 DEMO

14 HttpContext.GetOwinContext().Authentication.Challenge( new AuthenticationProperties { RedirectUri = "/" }, OpenIdConnectAuthenticationDefaults.AuthenticationType); HttpContext.GetOwinContext().Authentication.SignOut( OpenIdConnectAuthenticationDefaults.AuthenticationType, CookieAuthenticationDefaults.AuthenticationType);

15

16

17

18 https://graph.windows.net/contoso.com/users?api- version=2013-04-05&$filter=state eq ‘WA’ Graph URL (static) Specific entity type, such as users, groups, contacts, tenantDetails, roles, applications, etc. Tenant of interest – can be tenant’s verified domain or objectId. API version – “2013-04-05” is the Supported GA version Optional Odata query arguments: $filter, $top

19

20

21 DEMO

22

23

24

25 AuthenticationContext ctx= new AuthenticationContext("https://login.windows.net/contoso.onmicrosoft.com"); AuthenticationResult rez = await ctx.AcquireTokenAsync( "https://outlook.office365.com/", "5fc4a5a2-78d5-4d94-b890-a6e6b3341081");

26

27 DEMO

28

29

30

31

32

33 www.microsoft.com/learning http://microsoft.com/msdn http://microsoft.com/technet http://channel9.msdn.com/Events/TechEd

34

35

36


Download ppt "SYNC DEMO “We bought Grandma a new TV. This is what my Dad did to her remote.”"

Similar presentations


Ads by Google