Session
Session =
object
Properties
Section titled “Properties”readOnlyRequested
Section titled “readOnlyRequested”readOnlyRequested:
boolean
True when the operator forced read-only regardless of what the key could do.
who:
WhoAmI
Methods
Section titled “Methods”contextLine()
Section titled “contextLine()”contextLine():
string
One line naming where a write just landed, appended to every write result.
Returns
Section titled “Returns”string
has(
scope):boolean
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
lacksPermission()
Section titled “lacksPermission()”lacksPermission(
permission):boolean
True only when the API reported the role’s permissions and this one is not among them. An API that reported none cannot say, so the request is sent and the server decides.
Parameters
Section titled “Parameters”permission
Section titled “permission”string
Returns
Section titled “Returns”boolean