Seminar
on
Content
1 Introduction to Authentication
2 Google Authenticator - TOTP
3 How TOTP Works?
4 Introduction to OAuth
5 OAuth Protocol Flow
6 References
1. Introduction to Authentication
Authentication:
Authentication is the process of determining whether
someone or something is, in fact, who or what it is
declared to be.
The process of identifying an individual, usually
based on proof.
PAN Card, Driving License, Signature, Mark sheets
and many more.
Trust Factor:
Banks dont trust customers so they ask for PAN
card, Driving License, Residential proof etc.
1. Introduction to Authentication
Authentication:
Knowledge Factor - What a user knows
Password, Security question answer
Symbol->
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
4. Introduction to OAuth
What is OAuth:
Authenticate yourself without providing
credential info.
4. Introduction to OAuth
Without OAuth:
4. Introduction to OAuth
Without OAuth:
Apps store the user's
password.
Apps
get
access to
account.
complete
a user's
User
cant
revoke
access to an app except
by changing password.
4. Introduction to OAuth
With OAuth:
4. Introduction to OAuth
With OAuth:
4. Introduction to OAuth
OAuth Components:
Authorizati
on Server
BOB
Client
Owns
Print-Fast
Resourc
e Owner
David
Picasa
Resourc
e Server
Authorization
Request
Authorization
Grant
Client
Authorization
Grant
Access Token
Access Token
Protected
Resource
Resource
Owner
Authorizati
on Server
Resource
Server
Authorization
Grant
URL used is
http://picasa.com/?client_id=print-fast &scope=profile,email,photos
&redirect_uri=http://print-fast.com
Client
Resource
Owner
David
Authorizati
on Server
Print-Fast
Resource
Server
Resource
Owner
Client_Id=print-fast
code = ase34
Client
Access_token = x3e4
David
Authorizati
on Server
Print-Fast
Resource
Server
Resource
Owner
Authorizati
on Server
Client
Print-Fast
David
Access_token = x3e4
Resources
Resource
Server
Print-Fast
Access_token = x3e4
Resource
Owner
Authorizati
on Server
Access_token = x3e4
Resources
David
Resource
Server
6. References
Pro ASP.NET Web API Security Securing ASP.NET Web API
ByBadrinarayanan Lakshmiraghavan - APRESS
http://oauth.net
http://oauth.net/core/1.0
http://groups.google.com/group/oauth
http://wiki.oauth.net
Thank You