Interface RestrictedAccess

For when you want to restrict your application's access to a list of CIDR ranges. For example, if you want limit access to users connecting from Guardian offices only.

Example usage:

{
scope: AccessScope.RESTRICTED,
cidrRanges: [Peer.ipv4("192.168.1.1/32"), Peer.ipv4("8.8.8.8/32")]
}
interface RestrictedAccess {
    cidrRanges: IPeer[];
    scope: RESTRICTED;
}

Hierarchy (view full)

Properties

Properties

cidrRanges: IPeer[]
scope: RESTRICTED