Slide 1

Slide 1 text

http://opauth.org An Introduction Opauth

Slide 2

Slide 2 text

http://opauth.org was released today! Opauth

Slide 3

Slide 3 text

http://opauth.org U-Zyn Chua gladlyCode.com The premier web development firm

Slide 4

Slide 4 text

http://opauth.org Anyone done auth?

Slide 5

Slide 5 text

http://opauth.org What is Opauth? Opauth is a multi-provider authentication framework for PHP

Slide 6

Slide 6 text

http://opauth.org What is Opauth?

Slide 7

Slide 7 text

http://opauth.org Why Opauth?

Slide 8

Slide 8 text

http://opauth.org Before Opauth RTFM for or... Deal with each one of them

Slide 9

Slide 9 text

http://opauth.org Before Opauth Use an auth library Decisions: 1. What PHP framework do I use? 2. Which auth library works with my framework? (tens of them for each frameworks!) 3. How is my data structured? DB? Cache? 4. What if I want to extend?

Slide 10

Slide 10 text

http://opauth.org Opauth Basic It does what it does best, and strictly nothing more Makes no assumptions Mind your own data Standards

Slide 11

Slide 11 text

http://opauth.org Standards? Response format common data between providers Flow control Error handling You know what to expect!

Slide 12

Slide 12 text

http://opauth.org Standards! Authentication standards among PHP applications benefit developers providers

Slide 13

Slide 13 text

http://opauth.org How Opauth works?

Slide 14

Slide 14 text

http://opauth.org Data flow PHP application Authentication providers standard proprietary or multiple standards

Slide 15

Slide 15 text

http://opauth.org Transport Opauth is simple yet flexible! Opauth works cross-domain! Ruby frameworks have Rack We have HTTP! Session, GET, POST

Slide 16

Slide 16 text

http://opauth.org Security HTTP transports are not safe! Opauth has security built-in Response are signed with well-designed scheme Timeout

Slide 17

Slide 17 text

http://opauth.org Strategy A set of instructions that talks to respective authentication providers and relays the message back to Opauth

Slide 18

Slide 18 text

http://opauth.org Auth response https://github.com/uzyn/opauth/wiki/Auth-response Returned results of Opauth successful or otherwise (error)

Slide 19

Slide 19 text

http://opauth.org Demo

Slide 20

Slide 20 text

http://opauth.org Make a strategy 1. request() 2. do magic 3. prepare auth response 4. callback()

Slide 21

Slide 21 text

http://opauth.org Make a strategy Opauth provides HTTP transport library Uses basic common PHP functions no cURL! to not introduce unnecessary dependencies Server-side GET Server-side POST Client-side GET Client-side POST Include your own library, if you need

Slide 22

Slide 22 text

http://opauth.org Contribute Plugins for PHP frameworks we have CakePHP & Yii now Tests Your words trainings, tutorials, screencasts Strategies

Slide 23

Slide 23 text

http://opauth.org Questions? @uzyn [email protected] #opauth on Freenode