memo.xight.org


2006-01-18 Wed

Perl で TypeKey 認証

- Authen::TypeKey
Synopsis

use CGI;
use Authen::TypeKey;
my $q = CGI->new;
my $tk = Authen::TypeKey->new;
$tk->token('typekey-token');
my $res = $tk->verify($q) or die $tk->errstr;


- Apache::AuthTypeKey
Synopsis
## In httpd.conf or .htaccess:
PerlModule Apache::AuthTypeKey
PerlSetVar TypeKeyPath /
PerlSetVar TypeKeyLoginScript /login.pl
 
## These documents require user to be logged in.
<Location /protected>
	AuthType          Apache::AuthTypeKey
	AuthName          TypeKey
	PerlAuthenHandler Apache::AuthTypeKey->authenticate
	require           valid-user
	PerlSetVar        TypeKeyToken your_token
</Location>
 
## This is the _return URL that the login.pl script should point to.
<Location /login-protected>
	AuthType    Apache::AuthTypeKey
	AuthName    TypeKey
	SetHandler  perl-script
	PerlHandler Apache::AuthTypeKey->login
	PerlSetVar  TypeKeyToken your_token
</Location>


- Reference
YukiWiki - TypeKey
http://www.hyuki.com/yukiwiki/wiki.cgi?TypeKey

Authen::TypeKey
Apache::AuthTypeKey

カテゴリ: [Perl]

みそ膳 みずさわ

- Summary
味噌ラーメンが売りのラーメン屋.
意外な組み合わせのとんこつ味噌ラーメンが美味しい!

餃子もしっかり手作り.
皮も破れておらず,美味しくいただけました.

- Data

住所 東京都板橋区大和町14-10
営業時間 11:30 - 25:00
最寄駅

- Reference
ひょろり - みそ善みずさわ
http://www.hyorori.net/ramen/shop.asp?shop=1367

カテゴリ: [ラーメン]

てもみん

- Reference
グローバルスポーツ医学研究所 - てもみん
http://www.global-sports.co.jp/html/shop_temomin.html

カテゴリ: [健康]
2006-01 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Color Reference

ChangeLogを検索
携帯電話からアクセス!

カテゴリ

最近の話題

リンク

過去ログ

Google

QR Code

Since
2002-11-28
Update
2008-09-05 14:14
Copyright © 2005 xight.org All Rights Reserved.