Introduction OpenID Authentication 2.0 Revival

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    4 Favorites

    Introduction OpenID Authentication 2.0 Revival - Presentation Transcript

    1. OpenID Tech Night #5
    2. Identity Provider Identity Provider Identity Provider identity IdP     Identity Identity OpenID
    3.            見     一           
    4. zigorou.myopenid.com            自      入力  
    5.                    
    6.          
    7.            
    8.                            
    9. User-Supplied Identifier OP Identifier     Claimed Identifier      
    10.               Discovery             Association                     Authenticate Request       Authenticate Response               Verification  
    11.               Discovery             Association                     Authenticate Request       Authenticate Response               Verification  
    12. [zigorou ~] $ lwp-request -S -e -d http://zigorou.myopenid.com/ | grep XRDS X-XRDS-Location: http://zigorou.myopenid.com/?xrds=1 [zigorou ~] $ lwp-request http://zigorou.myopenid.com/?xrds=1 <?xml version=\"1.0\" encoding=\"UTF-8\"?> <xrds:XRDS xmlns:xrds=\"xri://$xrds\" xmlns:openid=\"http://openid.net/xmlns/1.0\" xmlns=\"xri://$xrd*($v*2.0)\"> <XRD version=\"2.0\"> <Service priority=\"0\"> <Type>http://specs.openid.net/auth/2.0/signon</Type> <Type>http://openid.net/sreg/1.0</Type> <Type>http://openid.net/extensions/sreg/1.1</Type> <Type>http://schemas.openid.net/pape/policies/2007/06/phishing-resistant</Type> <Type>http://openid.net/srv/ax/1.0</Type> <URI>http://www.myopenid.com/server</URI> <LocalID>http://zigorou.myopenid.com/</LocalID> </Service>
    13.               Discovery               Association                   Authenticate Request       Authenticate Response               Verification  
    14. #!/usr/bin/perl sub sig { my %pairs = @_; use strict; my $keyval = format_keyval(%pairs); use warnings; hmac_sha256_hex($keyval, $hmac_key); use Digest::SHA qw(hmac_sha256_hex); } use Perl6::Say; say sig( foo => \"abc\", bar => \"xyz\" ); our $hmac_key = \"common_secret\"; 89b7f51ec9b76e97d5a179f313af38e6cc8b5cb086 sub format_keyval { 0e266caf6847ded05428ce my %pairs = @_; join \"\\n\" => map { $_ . ':' . $pairs{$_} } keys %pairs; }
    15.               Discovery               Association                   Authenticate Request       Authenticate Response               Verification  
    16.               Discovery             Association                     Authenticate Request   Authenticate     Response               Verification  

    + zigorouzigorou, 6 months ago

    custom

    2437 views, 4 favs, 0 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 2437
      • 2437 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 4
    • Downloads 145
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Tags