ProtoFlux:Is Host Access Allowed Url: Difference between revisions

From Resonite Wiki
Created a page for the Is Host Access Allowed Url node.
 
Added some notes on the scope overriding the url protocol.
 
Line 16: Line 16:


{{Note|This node is useful for convenience of having the host and port combined, but if you want to just have the Host IP Address and Port Number separate, use [[ProtoFlux:Is Host Access Allowed|Is Host Access Allowed]] instead.|suggestion}}
{{Note|This node is useful for convenience of having the host and port combined, but if you want to just have the Host IP Address and Port Number separate, use [[ProtoFlux:Is Host Access Allowed|Is Host Access Allowed]] instead.|suggestion}}
If you provide a scheme (also called a protocol) inside the Url, it will be overridden by the scope every time, as the scope takes priority to determine the type of the network connection. A scheme looks like <code>https://</code> or <code>ws://</code>.


== Inputs ==
== Inputs ==

Latest revision as of 23:49, 19 May 2024

Is Host Access Allowed
Host
*
Scope
Network

The Is Host Access Allowed Url node takes in a host IP address (and optionally accessible port of that address if provided), and the scope of what type of connection this is. When everything is accurate, this node will return if the user has the host access to a service. This relates to the settings in the Dash that a user can look through to see what services they have access to.

This node is useful for convenience of having the host and port combined, but if you want to just have the Host IP Address and Port Number separate, use Is Host Access Allowed instead.

If you provide a scheme (also called a protocol) inside the Url, it will be overridden by the scope every time, as the scope takes priority to determine the type of the network connection. A scheme looks like https:// or ws://.

Inputs

Host (Uri)

The IP address and Port Number to connect to.

Scope (HostAccessScope)

The access type used for this network connection.

Outputs

* (bool)

The result if this local user has access to the service connected using the exact IP address (Host) (with optional Port Number if provided), and correct connection type.