The parenteral password is located on our server, for each user.
The user can change this password using the Android, the IOS ot the smart TV's - Samsung or LG apps.
I wish to know if it's mandatory to use the Roku device's pin number (in this case how to read it programatically)?
If not, can I use the approach I described above or do I need to implement all the parenteral pin classes and screens in my channel (one to change / update the pin which will be saved in the device's m.global variable)?
If it's not specifically mentioned in the certification criteria then I would say you can do whatever you want. There's no way to get the user's Roku PIN that I know of or to verify that a PIN entered matches the Roku PIN, but I've never looked into it. I wouldn't bother trying to handle managing the PIN on the device unless there's some mention of it in the certification criteria. Since you can't manage your Roku PIN on the device I doubt you have to manage your channel's PIN on the device.
The problem is that we must use some kind of parenteral protection and thus we use pin password to let user access adult or protected content. In this case we must have some kind of way to change the password pin number) in the channel.
I will make some adjustments to have a pin change screen and another to ask for it when accessing this kind of content.