Top Banner
Orange APIs Orange Partner MobileBankingFactory2 Challenge / Th Gaillet March 14, 2015
69

Orange APIs as presented at Mobile Banking Factory 2

Jul 17, 2015

Download

Technology

Orange Partner
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Orange APIs as presented at Mobile Banking Factory 2

Orange APIsOrange Partner

MobileBankingFactory2 Challenge / Th GailletMarch 14, 2015

Page 2: Orange APIs as presented at Mobile Banking Factory 2

Once upon a time…

Page 3: Orange APIs as presented at Mobile Banking Factory 2

Life has changed with Orange

Page 4: Orange APIs as presented at Mobile Banking Factory 2

244m customers 29 countries156k employees

600+ APIs

€39b sales

Page 5: Orange APIs as presented at Mobile Banking Factory 2

Orange APIsOrange Partner

Page 6: Orange APIs as presented at Mobile Banking Factory 2

Open Innovation

Page 7: Orange APIs as presented at Mobile Banking Factory 2

Cloud

API

M2MAPI

BeaconsAPI

Identity

API

Datavenue

APIs

Self-service

Go-to-market

Page 8: Orange APIs as presented at Mobile Banking Factory 2

Cloud

API

M2MAPI

BeaconsAPI

Identity

API

Datavenue

APIs

Page 9: Orange APIs as presented at Mobile Banking Factory 2

Orange M2M platform

Partner’splatform

Managed SIMs M2MAPI

Page 10: Orange APIs as presented at Mobile Banking Factory 2

Business Services

Fleet management partnership• Orange Fleet performance

• Peugeot Connect Fleet management

• Citroën Connect Fleet management

Page 11: Orange APIs as presented at Mobile Banking Factory 2

Cloud

API

M2MAPI

BeaconsAPI

Identity

API

Datavenue

APIs

Page 12: Orange APIs as presented at Mobile Banking Factory 2
Page 13: Orange APIs as presented at Mobile Banking Factory 2

B2B2C example, at the gym

> >

MarcoGymTech CTO

develops & manages solutions for multiple

gym clubs

PeterGym customer

expects the bestexperience, with relevant

interactions & privacy

JimGym manager

wants to boost hisbusiness & know his

customers better

Page 14: Orange APIs as presented at Mobile Banking Factory 2

> >

JimGym manager

wants to boost hisbusiness & know his

customers better

Page 15: Orange APIs as presented at Mobile Banking Factory 2
Page 16: Orange APIs as presented at Mobile Banking Factory 2
Page 17: Orange APIs as presented at Mobile Banking Factory 2
Page 18: Orange APIs as presented at Mobile Banking Factory 2
Page 19: Orange APIs as presented at Mobile Banking Factory 2
Page 20: Orange APIs as presented at Mobile Banking Factory 2

MarcoGymTech CTO

Page 21: Orange APIs as presented at Mobile Banking Factory 2

Orange Beacon

Beacons

mobile appsAPIs via

SDKs

Partner’sapp

Orange Beaconplatform

Partner’sportal

management & analyticsAPIs

Partner’s platforms

Partner

Orangeportal

Gym Manager

Orangeapp

Settings

Page 22: Orange APIs as presented at Mobile Banking Factory 2

Orange Beacon SDK

Page 23: Orange APIs as presented at Mobile Banking Factory 2

Orange Beacon SDK

Page 24: Orange APIs as presented at Mobile Banking Factory 2

Cloud

API

M2MAPI

BeaconsAPI

Identity

API

Datavenue

APIs

Page 25: Orange APIs as presented at Mobile Banking Factory 2

MarcoGymTech CTO

Page 26: Orange APIs as presented at Mobile Banking Factory 2

various gym equipments

Page 27: Orange APIs as presented at Mobile Banking Factory 2

new devices or pure S/W add-ons

< / >< / >

C, Java, etc.etc.

Page 28: Orange APIs as presented at Mobile Banking Factory 2

Orange

DatavenueAPIs

Marco,GymTech CTO

Datavenue portal

Access API

GymTech’s platforms

GymTech’s apps

Jim incontrol,as Gymmanager

Aggregation API

Other data

Store

Manage

Secure

other apps

other platforms

FutureSharing APIs

- Jim’s data, with his consent

- Anonymized data

3rd Party

< / > GymTech’s H/W + S/W

Collect APIPeter,the end-user

Page 29: Orange APIs as presented at Mobile Banking Factory 2
Page 30: Orange APIs as presented at Mobile Banking Factory 2
Page 31: Orange APIs as presented at Mobile Banking Factory 2

Cloud

API

M2MAPI

BeaconsAPI

Identity

API

Datavenue

APIs

Page 32: Orange APIs as presented at Mobile Banking Factory 2

…resources like Peter’s personalcloud

Marco developed a GymTech app…

…for end-userslike Peter

this app needs to access user’s resources…

Page 33: Orange APIs as presented at Mobile Banking Factory 2

IdentificationAuthorization

?

Page 34: Orange APIs as presented at Mobile Banking Factory 2

OAuth V2

Open IDConnect

Mobile Connect

Page 35: Orange APIs as presented at Mobile Banking Factory 2

Cloud

API

M2MAPI

BeaconsAPI

Identity

API

Datavenue

APIs

Page 36: Orange APIs as presented at Mobile Banking Factory 2

Peter Gym customer

Page 37: Orange APIs as presented at Mobile Banking Factory 2

GymTechCongratulations! All time record: 20 km in 1:20 h

Page 38: Orange APIs as presented at Mobile Banking Factory 2

Save this momentto your Orange Cloud

Page 39: Orange APIs as presented at Mobile Banking Factory 2

MarcoGymTech CTO

Page 40: Orange APIs as presented at Mobile Banking Factory 2

Orange Cloud

Partner’sapp

CloudAPI

IdentityAuthorization

Open ID Connect API User Details API

Client’spersonalcloud

Client’sdevices

CloudAPI

Partner’sbackend

Page 41: Orange APIs as presented at Mobile Banking Factory 2

Orange

Cloud

Uploader

#!/bin/bash # OrangeCloud_uploader.sh # … CLIENT_ID="gVZ0rd4zQDQ..a.dbP0iuWF" CLIENT_SECRET="R6zYmsIEgtSIMWIA" AUTHORIZATION=$(encodeBase64 $CLIENT_ID':'$CLIENT_SECRET) REFRESH_TOKEN="OFR-d8e439…92a1f7e4a7e1b9c812ba"

# File to upload FILE_NAME="weather.png" FILE_SIZE=$(stat -f%z « $FILE_NAME")

# [1] Obtain accessToken from refresh token response=$(curl -X POST \ -H 'Authorization:Basic '$AUTHORIZATION \ -H 'Content-Type:application/x-www-form-urlencoded' \ -d 'grant_type=refresh_token&refresh_token='$REFRESH_TOKEN \ https://api.orange.com/oauth/v2/token) if [[ $response =~ "error" ]]; then echo $(date '+%T')' get accessToken error: '$response exit -1 fi accessToken=$(jsonValue $response access_token)

Page 42: Orange APIs as presented at Mobile Banking Factory 2

Orange

Cloud

Uploader

# [2] Get $ESID (session ID) response=$(curl -X POST \ -H 'Authorization:Bearer '$accessToken \ -H 'Content-Length:0' \ https://api.orange.com/cloud/v1/session) if [[ $response =~ "error" ]]; then echo $(date '+%T')' get sessionId error: '$response exit -1 fi sessionID=$(jsonValue $response esid) # [3] Upload a file from current directory to end-user's cloud response=$(curl -k -S -X POST \ -H 'X-Orange-CA-ESID: '$sessionID \ -H 'Authorization: Bearer '$accessToken \ -F 'description={"name":"'$FILE_NAME'","size":'$FILE_SIZE'}' \ -F 'file=@'$FILE_NAME';filename='$FILE_NAME \ https://cloudapi.orange.com/cloud/v1/files/content) if [[ $response =~ "error" ]]; then echo $(date '+%T')' file upload error: '$response exit -1 fi fileID=$(jsonValue $response fileId) echo 'File successfully uploaded, with id: '$fileID

Page 43: Orange APIs as presented at Mobile Banking Factory 2

Orange

Cloud

SDK

// in main controller

- (void)viewDidLoad { [super viewDidLoad]; // Create the object that will make both user authentication // and cloud session management self.cloudSession = [[CloudSession alloc] initWithAppKey:@"yourClientId" appSecret:@"yourClientSecret" redirectURI:@"yourURIredirect"]; }

// in app delegate

- (void)applicationDidBecomeActive:(UIApplication *)application { [self.mainController connect]; }

Page 44: Orange APIs as presented at Mobile Banking Factory 2

// in main controller, how to connect:

- (void) connect { [self.cloudSession openSessionFrom:self success:^{ [self.cloudSession rootFolderWithSuccess:^(CloudItem * cloudItem) { [self setViewControllers:@[[[FileListViewController alloc] initWithSession:self.cloudSession

item:cloudItem]]]; } failure:^(CloudStatus status) { NSLog (@"Error while getting root folder"); }]; } failure:^(CloudStatus status) { NSLog (@"Error while connecting user"); }]; }

Orange

Cloud

SDK

Page 45: Orange APIs as presented at Mobile Banking Factory 2

GymTech

Page 46: Orange APIs as presented at Mobile Banking Factory 2
Page 47: Orange APIs as presented at Mobile Banking Factory 2
Page 48: Orange APIs as presented at Mobile Banking Factory 2
Page 49: Orange APIs as presented at Mobile Banking Factory 2

GymTech

informations que je partage avec GymTech

Page 50: Orange APIs as presented at Mobile Banking Factory 2

Cloud

API

M2MAPI

BeaconsAPI

Identity

API

Datavenue

APIs

Page 51: Orange APIs as presented at Mobile Banking Factory 2

Self-service APIs

Page 52: Orange APIs as presented at Mobile Banking Factory 2
Page 53: Orange APIs as presented at Mobile Banking Factory 2
Page 54: Orange APIs as presented at Mobile Banking Factory 2
Page 55: Orange APIs as presented at Mobile Banking Factory 2
Page 56: Orange APIs as presented at Mobile Banking Factory 2
Page 57: Orange APIs as presented at Mobile Banking Factory 2
Page 58: Orange APIs as presented at Mobile Banking Factory 2
Page 59: Orange APIs as presented at Mobile Banking Factory 2
Page 60: Orange APIs as presented at Mobile Banking Factory 2
Page 61: Orange APIs as presented at Mobile Banking Factory 2

Go-to-market

Page 62: Orange APIs as presented at Mobile Banking Factory 2

what it used to be

Page 63: Orange APIs as presented at Mobile Banking Factory 2

what it should be

Page 64: Orange APIs as presented at Mobile Banking Factory 2
Page 65: Orange APIs as presented at Mobile Banking Factory 2
Page 66: Orange APIs as presented at Mobile Banking Factory 2

Orange Services Mobile & webapps

End-users

Partners

API

orangepartner.com

Why are

we doingthis?

Page 67: Orange APIs as presented at Mobile Banking Factory 2

Orange Services Mobile & webapps

End-users

Partners

API

orangepartner.com

Page 68: Orange APIs as presented at Mobile Banking Factory 2

Next steps

WebinarStart

March 24 April 14

Webinar Coaching

Ad-hocMarch 14

Jury

May 19

Page 69: Orange APIs as presented at Mobile Banking Factory 2

thank you

orangepartner.com