[WordPress] 外掛分享: eID Easy

首頁外掛目錄 › eID Easy
WordPress 外掛 eID Easy 的封面圖片
100+
安裝啟用
★★★★★
5/5 分(1 則評價)
62 天前
最後更新
問題解決
WordPress 4.5+ v4.9.10 上架:2016-07-12

內容簡介

這個外掛使得使用 eID 方法進行安全認證和創建合格的電子簽名比自行實現認證方法更加容易。支援的方法包括:比利時 eID 卡、拉脫維亞人員證書、拉脫維亞 eParaksts 手機、立陶宛人員身份證和 M. parašas、葡萄牙公民卡、愛沙尼亞身份證+手機身份證、Smart-ID 等等。每個方法都可以單獨開啟或關閉。

外掛程式實現了 eideasy.com 的 OAuth 2.0 協議,就像 Facebook 和 Google 登入一樣。

安裝外掛後,您需要註冊您的網站以啟用您的網站並獲取 OAuth 認證憑證。同時需要驗證您的電子郵件。

篩選器和動作

使用 add_filter() WordPress 函式可自行設置多個篩選器以自定義外掛的行為。
1. 篩選器 "eideasy_login" 可自定義用戶完成登入後將被重新導向的頁面。
2. 篩選器 "eideasy_new_user_email" 可設置用戶電子郵件,以代替預設的 [email protected]
3. 用於自定義登入按鈕外觀的篩選器有: "ee-id-card-login"、"ee-mobile-id-login"、"lv-id-card-login"、"lt-id-card-login"、"lt-mobile-id-login"、"pt-id-card-login"、"smart-id-login"
4. 動作 "eideasy_user_created",當新用戶被創建時將被執行。將獲取新用戶 ID 和用戶數據作為參數。
5. 動作 "eideasy_after_logged_in",當收到用戶數據並在設置登入 Cookie 之前將被執行。獲取用戶數據和用戶 ID 作為參數。
6. 動作 "eideasy_user_identified",在收到用戶數據後立即運行,包含 eID Easy 返回的數據數組。

技巧和技巧

使用短碼 [eid_easy] 獲得登入按鈕,
使用短碼 [contract id=”123ABC”] 創建文件簽名頁面。從 https://id.eideasy.com 獲取實際的合約 ID 值。

由於 WordPress 需要用戶電子郵件,而用戶的電子郵件不包括在認證期間收到的數據中,因此會創建假電子郵件。使用 add_filter() 和篩選器 "eideasy_new_user_email" 變更新用戶帳戶的電子郵件。默認電子郵件為 [email protected]

支援電子郵件:[email protected]
支援電話 +372 555 29 332

外掛標籤

開發者團隊

⬇ 下載最新版 (v4.9.10) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「eID Easy」→ 直接安裝(推薦)

原文外掛簡介

This plugin makes secure identification and creating Qualified Electronic Signatures using eID methods much easier than implementing these identification methods yourself. Supported methods among others are: Belgian eID card, Latvian Personas apliecība, Latvian eParaksts Mobile, Lithuanian Asmens tapatybės kortelė and M. parašas, Portugese Cartão de Cidadão, Estonian ID card + Mobile-ID, Smart-ID, Web-eID. Full list check at https://www.eideasy.com/supported-methods. Each method can be turned on and off individually.
Plugin implements eideasy.com Oauth 2.0 protocol like Facebook and Google login.
After plugin installation you need to register your site to activate your site and get the Oauth credentials. Also your e-mail needs to be verified.
Filters and actions
There are several filters for customizing the plugin behaviour using add_filter() WordPress function.
1. Filter “eideasy_login” enables customizing the page where user will be redirected after login completed.
2. Filter “eideasy_new_user_email” enabled setting user e-mail to something else that default [email protected]
3. Filters to customize login buttons look and feel are: “ee-id-card-login, ee-mobile-id-login, lv-id-card-login, lt-id-card-login, lt-mobile-id-login, pt-id-card-login, smart-id-login, ee-web-eid-login”
4. Action eideasy_user_created. Will be executed when new user has been created. Will get new user ID and user data as arguments.
5. Action eideasy_after_logged_in. Will be executed every time when user info has been received and just before setting login cookie. Gets user data and user ID as arguments.
6. Action eideasy_user_identified. Runs immediately after user data has been received and includes array of data returned by eID Easy.
Tips and tricks
Use shortcode [eid_easy] to get login button,
Use shortcode [contract id=”123ABC”] to create document signing page. Get the actual contract ID value from https://id.eideasy.com
Since WordPress needs user e-mail and e-mail for users is not part of the data received during identification then fake e-mail is created. Change the new user account e-mail with add_filter() and filter eideasy_new_user_email. By default email will be [email protected]
Support email: [email protected]
Support phone +372 555 29 332

延伸相關外掛

文章
Filter
Apply Filters
Mastodon