Plugin API 2.9.0. Needs Termix 26.11.2.
Added
-
ctx.usersaccount calls for provisioning plugins:get,findByUsername,findByEmailandlistRoleswithusers:read, andcreate,update,setDisabled,delete,syncRolesandsetAdminwithusers:write. Accounts a plugin makes have no password, and their first SSO or LDAP sign in with the same verified email is linked to them. Optional in the types, so checktypeof ctx.users.create === "function"first -
ctx.http.router({ publicAuthorization: true })passes the Authorization header to the declared public routes, for protocols with their own bearer token like SCIM. Termix API keys and session tokens are never passed -
createMockCtxtakesaccountsandrolesforctx.users, and records changes inaccounts -
/uicalls for account management:disableUser,enableUser,updateMyProfile,adminUpdateUserProfile,getAdminHostBypass,updateAdminHostBypass,getExternalSignupApproval,updateExternalSignupApproval -
/uicalls for invite links:listUserInvites,createUserInvite,revokeUserInvite,checkUserInvite,acceptUserInvite,inviteLink -
/uicalls for the access review:getAccessReview,downloadAccessReviewCsv -
getUserListtakes astatusfilter, andUserInfocarries the display name, email, account state and last sign in -
AdminSectionincludesaccess