Gungho::Component::Authentication::Basic.ja - GunghoでBasic認証を行う
--- components: - Authentication::Basic credentials: basic: - - http://example.com - "Admin Only" - username - password - - http://example2.com - "Admin Only" - username2 - password2
このモジュールはGunghoにBasic認証を行う機能を追加します。
コンポーネントを初期化します。
Basic認証を行います。認証が必要な最初のリクエストが401で失敗した場合は 認証ヘッダーを付与し再度リクエストを行います。
指定のURLとRealmに対して認証情報を設定します。
指定のURLとRealmに対して認証情報を返します
To install Gungho, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gungho
CPAN shell
perl -MCPAN -e shell install Gungho
For more information on module installation, please visit the detailed CPAN module installation guide.