2023-05-03 21:21:04 +00:00
|
|
|
import "pkg:/source/api/userauth.brs"
|
|
|
|
import "pkg:/source/api/baserequest.brs"
|
|
|
|
import "pkg:/source/utils/config.brs"
|
|
|
|
|
2022-05-29 20:00:38 +00:00
|
|
|
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
|