内容をスキップ
WordPress.org

日本語

  • テーマ
  • プラグイン
  • ニュース
    • ドキュメンテーション
    • フォーラム
  • 概要
  • 参加・貢献
  • このサイトについて
  • WordPress を入手
WordPress を入手
WordPress.org

Plugin Directory

Auto Login for Sakura Rental Server

  • プラグインを申請
  • お気に入り
  • ログイン
  • プラグインを申請
  • お気に入り
  • ログイン

Auto Login for Sakura Rental Server

作者: sakurainternet
ダウンロード
  • 詳細
  • レビュー
  • インストール
  • 開発
サポート

説明

Auto Login for Sakura Rental Server allows administrators to issue one-time, time-limited auto-login URLs using HMAC signatures.
This is useful for secure temporary access or system integration.

Features:
– Secure auto-login with one-time tokens
– Tokens are HMAC-signed and invalidated after use
– Token issuance and usage history (up to 100 entries per user)
– Records IP address and username of the issuer
– Rate limiting: 1 request per second per IP
– WP-CLI commands for token generation and history inspection

Example use cases:
– Temporarily granting admin access
– Safe automatic login from external systems
– Keeping an audit log of who issued a token and from where

Usage

Generate a token via CLI

wp auto-login-for-sakura-rental-server generate <user_id> [–expires=] [–remote_addr=] [–username=]

Example:

  • Default expiration time: 300 seconds
  • --expires and --username are optional

Check issue history

Token history is stored in the user meta key sakura_auto_login_history.
You can check it via WP-CLI:

wp user meta get sakura_auto_login_history

Auto-login URL format

https://example.com/?rs_auto_login_token=<64-character HMAC token>

Visiting the URL will log in as the corresponding user and redirect to the admin dashboard.

Security Notes

  • Tokens are invalidated immediately after use (one-time only)
  • Issue and usage history includes IP address, issuer username, and timestamps
  • Stored using update_option() for caching compatibility
  • HTTPS is strongly recommended

インストール

  1. Upload the plugin to /wp-content/plugins/auto-login-for-sakura-rental-server/.
  2. Activate it through the Plugins menu in WordPress.

FAQ

Can I revoke a token manually?

Yes. Run sakura_auto_login_delete_token('<token>').

What happens if the URL leaks?

Anyone with the URL can log in as the target user until the token expires. Always use HTTPS and handle URLs carefully.

評価

このプラグインにはレビューがありません。

貢献者と開発者

Auto Login for Sakura Rental Server はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者
  • sakurainternet

“Auto Login for Sakura Rental Server” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログを RSS で購読してみてください。

変更履歴

1.0.0

  • Initial release

1.0.1

  • Bugfix release

1.0.2

  • Internal changes release

1.0.3

  • Readme changes release

1.0.4

  • Readme changes release

1.0.5

  • Bugfix release

メタ

  • バージョン 1.0.5
  • 最終更新日 1か月前
  • 有効インストール数 8,000+
  • WordPress バージョン 5.0またはそれ以降
  • 検証済み最新バージョン: 6.8.5
  • PHP バージョン 7.4またはそれ以降
  • 言語
    English (US)
  • タグ
    auto loginclilogintoken
  • 詳細を表示

評価

レビューはまだ送信されていません。

Your review

すべてのレビューを見る

貢献者

  • sakurainternet

サポート

意見や質問がありますか ?

サポートフォーラムを表示

  • WordPress とは
  • ニュース
  • ホスティング
  • プライバシー
  • ショーケース
  • テーマ
  • プラグイン
  • パターン
  • Learn
  • サポート
  • 開発者
  • WordPress.tv ↗
  • 参加・貢献
  • イベント
  • 寄付 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

日本語

  • X (旧 Twitter) アカウントへ
  • Bluesky アカウントへ
  • Mastodon アカウントへ
  • Threads アカウントへ
  • Facebook ページへ
  • Instagram アカウントへ
  • LinkedIn アカウントへ
  • TikTok アカウントへ
  • YouTube チャンネルへ
  • Tumblr アカウントへ
Code is Poetry.
The WordPress® trademark is the intellectual property of the WordPress Foundation.