spc adriatics 2016 - introduction to angularjs with the microsoft graph

22
Introduction to AngularJS with the Microsoft Graph SÉBASTIEN LEVERT PRODUCT OWNER, OCEANIK DEVELOPMENT & SOLUTIONS DIRECTOR, NEGOTIUM

Upload: sebastien-levert

Post on 14-Apr-2017

672 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

Introduction to AngularJS with the Microsoft Graph

SÉBASTIEN LEVERTPRODUCT OWNER, OCEANIK

DEVELOPMENT & SOLUTIONS DIRECTOR, NEGOTIUM

Page 2: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

SPONSORS

Page 3: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

Who’s Sébastien Levert !?

Montreal, Canada oceanik.com

Office Servers & Services MVP

Web Developer@sebastienlever

tsebastienlevert.c

om

Page 4: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

Agenda• AngularJS• Microsoft Graph• Azure AD• Demos• Resources

Page 5: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

ANGULARJS

Page 6: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

What is AngularJS ?• Superheroic JavaScript MVW framework• Developed by Google• Started in 2009• Used by Netflix, Youtube, Vevo, MSNBC, …, You ?• A game changer in web development• Angular 2.0 coming in 2015 2016

Page 7: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

Why AngularJS ?• Getting closer to client-side development• Start thinking like a web developer, not like a SharePoint

developer• Living on the edge• Building applications faster, with less code• Because everyone is heading towards it

Page 8: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

AngularJS is (still) very… Trendy !

Page 9: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

Key Concepts• Architecture pattern• Enhanced HTML templating• 2-way data-binding• Routing engine• Dependency injection• Unit testing

Page 10: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

MICROSOFT GRAPH

Page 11: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

Building integration with Office 365

Page 12: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

AZURE AD

Page 13: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

Single authentication flow for Office 365• 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

Page 14: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

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

Page 15: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

Authentication Options• Azure AD only• Separate auth flow supports Azure AD accounts only

• Azure AD and Microsoft Accounts (Preview)• Converged auth flow supports Azure AD accounts and

Microsoft accounts (LiveID - hotmail.com, etc.)

Page 16: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

ANGULARJS

Page 17: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

What do we need to integrate?• Scaffolding of AngularJS application• Automatic authentication• Connecting data• Secured routes• Office UI Framework into AngularJS• Injection of tokens in HTTP calls

Page 18: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

DEMOS, DEMOS EVERYWHERE!

Page 19: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

OFFICE HUB

Page 20: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

MY MESSAGES

Page 21: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

Resources• http://dev.office.com• http://ngofficeuifabric.com/• http://github.com/sebastienlevert/officehub • http://slevert.me/slevert-twitter• http://slevert.me/slevert-slideshare• http://sebastienlevert.com

Page 22: SPC Adriatics 2016 - Introduction to AngularJS with the Microsoft Graph

thank youquestions?

live ratingsHTTP://WWW.SEBASTIENLEVERT.COM@SEBASTIENLEV

ERT

spca.biz/KVU9