るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
15件ヒット [1-15件を表示] (0.020秒)
トップページ > クエリ:http[x] > バージョン:2.3.0[x] > クエリ:BasicAuth[x]

別のキーワード

  1. net/http get
  2. http start
  3. http get
  4. net/http start
  5. net/http patch

検索結果

WEBrick::HTTPAuth::BasicAuth (63085.0)

HTTP の Basic 認証のためのクラスです。

HTTP の Basic 認証のためのクラスです。



require 'webrick'
realm = "WEBrick's realm"
srv = WEBrick::HTTPServer.new({ :BindAddress => '127.0.0.1', :Port => 10080})

htpd = WEBrick::HTTPAuth::Htpasswd.new('dot.htpasswd')
htpd.set_passwd(nil, 'username', 'supersecretpass')

authenticator =...

webrick/httpauth/basicauth (36049.0)

HTTP の Basic 認証のためのライブラリです。

HTTP の Basic 認証のためのライブラリです。

WEBrick::HTTPAuth::ProxyBasicAuth (27001.0)

プロクシの Basic 認証のためのクラスです。

プロクシの Basic 認証のためのクラスです。

WEBrick::HTTPAuth::BasicAuth.new(config, default = Config::BasicAuth) -> WEBrick::HTTPAuth::BasicAuth (18973.0)

BasicAuth オブジェクトを生成します。config は設定を保存したハッシュです。

BasicAuth オブジェクトを生成します。config は設定を保存したハッシュです。

config で有効なハッシュキーは以下の通りです。

:Realm =>
:UserDB =>
:Logger =>
:AutoReloadUserDB =>

realm を表す文字列 :Realm には与えます。:UserDB
には WEBrick::HTTPAuth::Htpasswd オブジェクトを与えます。:Logger には
ロガーオブジェクトを与えます。また、:AutoReloadUserDB には
WEBrick...

WEBrick::HTTPAuth::BasicAuth#userdb -> WEBrick::HTTPAuth::Htpasswd (18301.0)

ユーザ名とパスワードを保存した WEBrick::HTTPAuth::Htpasswd オブジェクトを返します。

ユーザ名とパスワードを保存した WEBrick::HTTPAuth::Htpasswd オブジェクトを返します。

絞り込み条件を変える

WEBrick::HTTPAuth::BasicAuth#authenticate(request, response) -> bool (18001.0)

クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。

クライアントから送られてきたユーザ名とパスワードを認証します。
認証に失敗した場合は challenge を呼びます。

@param request WEBrick::HTTPRequest のインスタンスを指定します。

@param response WEBrick::HTTPResponse のインスタンスを指定します。

@raise WEBrick::HTTPStatus::Unauthorized 認証に失敗した場合に発生します。

WEBrick::HTTPAuth::BasicAuth#challenge(request, response) -> () (18001.0)

クライアントにパスワードを要求するためにレスポンスに WWW-Authenticate ヘッダを 設定し、例外 WEBrick::HTTPStatus::Unauthorized を投げます。

クライアントにパスワードを要求するためにレスポンスに WWW-Authenticate ヘッダを
設定し、例外 WEBrick::HTTPStatus::Unauthorized を投げます。

@raise WEBrick::HTTPStatus::Unauthorized このメソッドを呼ぶと必ず発生します。

WEBrick::HTTPAuth::BasicAuth#logger -> object (18001.0)

ロガーオブジェクトを返します。

ロガーオブジェクトを返します。

WEBrick::HTTPAuth::BasicAuth#realm -> String (18001.0)

realm を文字列で返します。

realm を文字列で返します。

WEBrick::HTTPAuth::BasicAuth.make_passwd(realm, user, pass) -> String (18001.0)

pass をランダムなソルトで crypt した文字列を返します。

pass をランダムなソルトで crypt した文字列を返します。

@param realm レルムを指定します。

@param user ユーザ名を指定します。

@param pass パスワードを指定します。

絞り込み条件を変える

WEBrick::HTTPAuth::Authenticator#userdb -> WEBrick::HTTPAuth::Htpasswd | WEBrick::HTTPAuth::Htdigest (9619.0)

認証のためのユーザデータベースを返します。

認証のためのユーザデータベースを返します。

@see WEBrick::HTTPAuth::BasicAuth, WEBrick::HTTPAuth::Htdigest

WEBrick::HTTPAuth::UserDB (9049.0)

WEBrick::HTTPAuth::BasicAuth, WEBrick::HTTPAuth::DigestAuth で使用しているモジュールです。

WEBrick::HTTPAuth::BasicAuth, WEBrick::HTTPAuth::DigestAuth で使用しているモジュールです。

WEBrick::HTTPAuth::UserDB#auth_type -> Class (9049.0)

WEBrick::HTTPAuth::BasicAuth, WEBrick::HTTPAuth::DigestAuth のいずれかを返します。

WEBrick::HTTPAuth::BasicAuth, WEBrick::HTTPAuth::DigestAuth のいずれかを返します。

WEBrick::HTTPAuth::UserDB#auth_type=(type) (9019.0)

認証のタイプをセットします。

認証のタイプをセットします。

@param type WEBrick::HTTPAuth::BasicAuth, WEBrick::HTTPAuth::DigestAuth のいずれかを指定します。

WEBrick::HTTPAuth::UserDB#make_passwd(realm, user, pass) -> String (9019.0)

WEBrick::HTTPAuth::UserDB#auth_type の make_passwd を呼び出します。

WEBrick::HTTPAuth::UserDB#auth_type の make_passwd を呼び出します。

@param realm レルムを指定します。

@param user ユーザ名を指定します。

@param pass パスワードを指定します。

@see WEBrick::HTTPAuth::BasicAuth#make_passwd, WEBrick::HTTPAuth::DigestAuth#make_passwd

絞り込み条件を変える