SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph
-
Upload
sebastien-levert -
Category
Technology
-
view
811 -
download
1
Transcript of SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph
Sponsors
Introduction to AngularJS with the Microsoft GraphSébastien Levert, Office Servers & Services MVP @ Negotium Technologies
Who’s Sébastien Levert
Montreal, Canada negotium.comOffice Servers &
Services MVP
Web Developer @sebastienlevertSebastienlevert.co
m
AgendaAngularJSMicrosoft GraphAzure ADDemosResources
AngularJS1
Superheroic JavaScript MVW frameworkDeveloped by GoogleStarted in 2009Used by Netflix, Youtube, Vevo, MSNBC, …, You ?A game changer in web developmentAngular 2.0 coming in 2015 2016
What is AngularJS ?
Getting closer to client-side developmentStart thinking like a web developer, not like a SharePoint developerLiving on the edgeBuilding applications faster, with less codeBecause everyone is heading towards it
Why AngularJS ?
AngularJS is very… Trendy!
Architecture patternEnhanced HTML templating2-way data-bindingRouting engineDependency injectionUnit testing
Key concepts
Microsoft Graph2
Developer vision
HTML
DATAUSERS
Building integration with Office 365
Microsoft Graph API
https://graph.microsoft.com/
Your App
USERS FILES MAIL CALENDARGROUPS
Insights and relationships from Office Graph
TASKS
Single resource that proxies multiple Microsoft servicesAllows for easy traversal of objects and relationshipsSimplifies token acquisition and managementEliminates the need to traditional discovery (using “me” and “myorganization”)
Microsoft Graph, gateway to Office 365
Demo of the Graph Explorerhttps://graphexplorer2.azurewebsites.net
Azure AD Authentication3
• Sign users in using OpenID Connect Azure AD and Office 365
services Supports MFA and federated
user sign-in
• Device apps, web sites, SPAs, and service apps
• Pin apps to Office 365 app launcher from My apps
Single authentication flow for Office 365
Common consent• Single auth flow for
accessing all O365 services
• Admin and end-user consent
• Secure protocol OpenID Connect and OAuth 2.0 No capturing user credentials Fine-grained access scopes Long-term access through refresh
tokens
Azure AD onlySeparate auth flow supports Azure AD accounts onlyAzure AD and Microsoft Accounts (Preview)Converged auth flow supports Azure AD accounts and Microsoft accounts (LiveID - hotmail.com, etc.)
Authentication Options
Demo of an Azure AD Applicationhttps://manage.windowsazure.com
Integration of AngularJS with the Microsoft Graph4
Scaffolding of AngularJS applicationAutomatic authenticationSecured routesInjection of tokens in HTTP calls
What do we need to integrate?
Demo of an AngularJS, from start to finish
Demo of OfficeHub
Ressources5
dev.Office.comhttp://dev.office.comOpportunityGetting startedTransformResourcesShowcaseDocumentation
dev.Office.comhttp://blogs.office.comOffice 365 newsDev announcementsEventsGarage series videosWeekly podcast
dev.Office.comhttp://www.office.com/roadmapMonthly updatesDeveloper featuresAssociated blog posts
http://dev.office.com/devprogram
Developer Program launch
Email Newsletters
Free Developer Subscriptio
n
1 YEAR FREE
Free Training
Free Tools Webinars
Office 365 Networkhttps://www.yammer.com/itpronetwork
@OfficeDev TwitterStartStart
Podcastshttp://dev.office.com/podcasts
UserVoice
http://officespdev.uservoice.com/
Stack overflow
[ms-office]
Channel 9 Dev Showhttp://aka.ms/O365DevShow Snack Demos
http://aka.ms/o365DevSnackDemos
Follow OfficeDev
Questions ?
Sponsors