jf-roku/components/quickConnect/QuickConnect.bs
2023-10-03 11:42:10 -04:00

18 lines
385 B
Plaintext

import "pkg:/source/api/userauth.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
sub init()
m.top.functionName = "monitorQuickConnect"
end sub
sub monitorQuickConnect()
authenticated = checkQuickConnect(m.top.secret)
if authenticated = true
m.top.authenticated = 1
else
m.top.authenticated = -1
end if
end sub