Ruby 2.1.0 リファレンスマニュアル > ライブラリ一覧 > webrick/httpauth/userdbライブラリ > WEBrick::HTTPAuth::UserDBモジュール > auth_type

instance method WEBrick::HTTPAuth::UserDB#auth_type

auth_type -> Class[permalink][rdoc]

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