Upgrade to Pro — share decks privately, control downloads, hide ads and more …

About_JWT_at_NDS_39_Niigata_pm

ritou
December 13, 2014

 About_JWT_at_NDS_39_Niigata_pm

NDS#39 Niigata.pm tech talk http://connpass.com/event/8695/ で発表した資料です。

ritou

December 13, 2014
Tweet

More Decks by ritou

Other Decks in Technology

Transcript

  1. 1

  2. 3

  3. 4

  4. 6

  5. 12

  6. 13

  7. 14

  8. • JWS(JSON Web Signature) : 署名つき • • JWA(JSON Web

    Algorithm) : 署名生成/暗号化の アルゴリズム • JWK(JSON Web Key) : 鍵まわり 15
  9. 16

  10. 18

  11. 19

  12. 20

  13. 24

  14. 25

  15. 26

  16. my $cookie = crush_cookie($env->{HTTP_COOKIE} || '')->{$self- >{cookie_name}}; my $session =

    $self->{store}->get($cookie) or return; $session = $self->{serializer}->[1]->($session) if $self->{serializer}; 29
  17. 35

  18. 38

  19. 40

  20. 42

  21. 44

  22. 47