別のキーワード
ライブラリ
-
net
/ imap (12) -
webrick
/ httpauth / authenticator (168) -
webrick
/ httpauth / basicauth (12)
クラス
-
Net
:: IMAP (12)
キーワード
- AuthException (24)
- AuthScheme (12)
- BasicAuth (12)
- InfoField (12)
- ProxyAuthenticator (12)
- RequestField (24)
- ResponseField (24)
- ResponseInfoField (12)
-
add
_ authenticator (12) - logger (12)
- realm (12)
- userdb (12)
-
webrick
/ httpauth / authenticator (12)
検索結果
先頭5件
-
WEBrick
:: HTTPAuth :: Authenticator :: AuthScheme -> nil (3000.0) -
認証方法を表わします。派生クラスで上書きしなければなりません。
認証方法を表わします。派生クラスで上書きしなければなりません。 -
WEBrick
:: HTTPAuth :: Authenticator :: RequestField -> String (3000.0) -
リクエストフィールドのキーの名前です。
リクエストフィールドのキーの名前です。 -
WEBrick
:: HTTPAuth :: Authenticator :: ResponseField -> String (3000.0) -
レスポンスフィールドのキーの名前です。
レスポンスフィールドのキーの名前です。 -
WEBrick
:: HTTPAuth :: Authenticator :: ResponseInfoField -> String (3000.0) -
レスポンスインフォフィールドのキーの名前です。
レスポンスインフォフィールドのキーの名前です。 -
WEBrick
:: HTTPAuth :: ProxyAuthenticator :: AuthException -> Class (3000.0) -
WEBrick::HTTPStatus::ProxyAuthenticationRequired です。
WEBrick::HTTPStatus::ProxyAuthenticationRequired です。 -
WEBrick
:: HTTPAuth :: ProxyAuthenticator :: InfoField -> "Proxy-Authentication-Info" (3000.0) -
キーの名前です。
キーの名前です。 -
WEBrick
:: HTTPAuth :: ProxyAuthenticator :: RequestField -> "Proxy-Authorization" (3000.0) -
リクエストフィールドのキーの名前です。
リクエストフィールドのキーの名前です。 -
WEBrick
:: HTTPAuth :: ProxyAuthenticator :: ResponseField -> "Proxy-Authenticate" (3000.0) -
レスポンスフィールドのキーの名前です。
レスポンスフィールドのキーの名前です。 -
WEBrick
:: HTTPAuth :: BasicAuth (12.0) -
HTTP の Basic 認証のためのクラスです。
...w('dot.htpasswd')
htpd.set_passwd(nil, 'username', 'supersecretpass')
authenticator = WEBrick::HTTPAuth::BasicAuth.new(:UserDB => htpd, :Realm => realm)
srv.mount_proc('/basic_auth') {|req, res|
authenticator.authenticate(req, res)
res.body = "hoge"
}
srv.start # htt...