Lock Server
What is it?
The Lock Server
it is a digital protection service that allows you to control access to certain functions and features of the platform. The idea is that platform users can set locks for certain MIB actions so that the permission to execute such actions remains under their control.
How does it work?
This service is abstracted within the MIB under the name Lock Server
, so configurations and pages will always refer to this nomenclature. However, the controls are actually managed by third-party software. Initially, we released the service integrated with Latch, a service provided by Telefónica. Therefore, to use this feature, a Latch
service license is required.
Note
It is possible to add new implementations of this feature beyond Latch
in a straightforward manner since we have created an abstraction of all the resources used by MIB.
How to configure?
All the steps for activating and configuring the service are performed on the MibAuthorizationServer. Within its configuration, there is a specific section for this service.
New tags have also been created in the dictionaries
for configuring the texts displayed to the user. They are:
<?xml version="1.0" encoding="utf-8" ?>
<translations>
<account>
<LOCKSERVER></LOCKSERVER>
<LOCKSERVERENABLED></LOCKSERVERENABLED>
<LOCKSERVERASSOCIATIONCODE></LOCKSERVERASSOCIATIONCODE>
<LOCKSERVERASSOCIATIONCODEPLACEHOLDER></LOCKSERVERASSOCIATIONCODEPLACEHOLDER>
<LOCKSERVERPAIRINGACTION></LOCKSERVERPAIRINGACTION>
<MESSAGEUSERNOTFOUND></MESSAGEUSERNOTFOUND>
</account>
<lockserver>
<MESSAGEUSERALREADYPAIRED></MESSAGEUSERALREADYPAIRED>
<MESSAGEINVALIDPAIRTOKEN></MESSAGEINVALIDPAIRTOKEN>
<MESSAGESERVICEDISABLED></MESSAGESERVICEDISABLED>
<SERVICEUNAVALIABLE></SERVICEUNAVALIABLE>
<MESSAGEPAIRCODEREQUIRED></MESSAGEPAIRCODEREQUIRED>
</lockserver>
</translations>
Important
Check if all migrations from MediaiBox.Cms.Authorization.Database.Migrations
have been executed. The migration responsible for configuring the fields used by the service is 202501231644370_Mib_AddLockServerFields
. To learn more about migration, see the documentation.
How to use it?
Now that we have configured the entire environment, let's go through the necessary steps for usage: