Linux 软件免费装
Banner图

AgeWallet OIDC Client

开发者 agewallet
cookedbiscuits
更新时间 2026年7月12日 19:32
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

age verification age gate content restriction oidc agewallet

下载

1.5.6

详情介绍:

The AgeWallet OIDC Client plugin adds age verification and content gating to your WordPress website, backed by the AgeWallet™ verification service over OpenID Connect (OIDC). It is designed to be straightforward to set up, fully customizable, and compatible with all WordPress hosting environments — including sites behind aggressive page caches (Cloudflare, Varnish, WP Rocket, LiteSpeed, etc.). Two protection modes are available. Standard (Overlay) mode hides gated content via a client-side overlay; it is SEO-friendly and works on any cached page. High Security (Strict) mode short-circuits the page entirely until the visitor verifies, using a cookieless "skeleton" template that pairs with "Cache Everything" CDN rules. Customize the gate's appearance from the Gate Appearance tab (logo, copy, colours, button radii) and override anything else from Appearance → Customize → Additional CSS. Strict-mode analytics — Google Analytics 4, Google Tag Manager, and Facebook Pixel — are configurable from the Strict Mode Analytics tab. Protection rules cover the whole site, individual URL paths, taxonomies (categories, tags, custom taxonomies), per-post overrides via the editor sidebar, and the [agewallet_protected] shortcode for inline content. WooCommerce is supported out of the box with three checkout-gate modes and per-product / per-category regulated flagging. Every verification can carry an opaque metadata payload (≤4KB) that round-trips through the OIDC flow and surfaces on the /userinfo response, letting integrators correlate verifications with their own backend records. For the full feature enumeration see Other Notes; for setup walkthroughs, the available CSS hooks, and the developer-hook list, see the Usage Guide, CSS Customization Guide, and Developer Hooks sections below.

安装:

  1. Upload the plugin files to the /wp-content/plugins/agewallet directory, or install the plugin through the WordPress plugins screen directly by uploading the .zip file.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Crucial Step: Go to Settings > Permalinks and simply click "Save Changes". This ensures the custom AgeWallet verification URLs (e.g., /agewallet/callback/) are registered.
  4. Look for the AgeWallet item in your main WordPress admin menu to launch the setup wizard.
  5. After configuring your potection settings be sure to clear any server, plugin or CloudFlare caches.

屏幕截图:

  • The plugin's setup wizard — Step 1 (API Credentials).
  • The Content Guarding screen — taxonomy, path, and global protection rules, plus the WooCommerce "gate the checkout" setting.
  • The per-product Regulated status control on the WooCommerce product edit screen.

升级注意事项:

1.5.6 Improved security around script and style handling and shortcode content escaping. No functional changes for site owners. 1.5.5 Documentation and code-quality release (External services disclosure, script cleanup, small fixes). No functional changes. 1.4.0 Adds metadata pass-through and a full WooCommerce integration with three-mode checkout gating (Off / Force Always / Conditional on Cart), per-product and per-category/tag regulated flagging, and per-checkout cart context attached as metadata. 1.3.1 On verification failure, users are now redirected back to the originating page instead of seeing a generic error.

其他记录:

Features

常见问题:

Do I need an AgeWallet account to use this plugin?

Yes. The plugin is a client for the AgeWallet OIDC age-verification service. Register a business account at https://app.agewallet.io/register to obtain a Client ID and Client Secret, then enter them on the plugin's Credentials screen. New accounts receive $5 of free verification credit to get you started.

Will the plugin work with my caching plugin or CDN (Cloudflare, Varnish, WP Rocket, etc.)?

Yes. Standard (Overlay) mode is fully cache-compatible — the page HTML is the same for every visitor and the gate is enforced client-side. High Security (Strict) mode uses a split-cache system that ships a cookieless "Skeleton" page from cache and fetches the real content via an authenticated API call once the visitor is verified, so it works with "Cache Everything" rules.

Does it work with WooCommerce?

Yes. The plugin integrates with WooCommerce checkout. You can gate every checkout, gate only when the cart contains regulated items, or leave checkout ungated. Regulated status can be set per-product, per-category, or per-tag.

How do I customize the look of the gate?

Upload your logo, customize the headline and body copy via the WYSIWYG editor, and override CSS through the Custom CSS field on the Gate Appearance settings tab. See the in-dashboard Plugin Guide page for the full list of CSS classes.

Does the plugin store any personal data about my visitors?

The plugin stores a signed HMAC verification cookie on the visitor's browser indicating that they passed age verification. No personal identifying information is stored on your WordPress site — verification is handled by the AgeWallet service, and only the pass/fail outcome reaches your site. See AgeWallet's End-User Privacy Policy (https://agewallet.com/end-user-privacy-policy/) for full details.

What happens to my data if I uninstall the plugin?

Deleting the plugin from the Plugins screen runs uninstall.php, which removes all agewallet_* options, transients, scheduled cron events, and the strict-mode HTML cache directory. Verification cookies on visitor browsers expire on their own.

更新日志:

1.5.6 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.4.0 1.3.1 1.3.0 1.2.0 1.0.1 1.0.0 0.1.7