Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-hoailona
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-hoailona
Commits
469e3c19
Commit
469e3c19
authored
Jan 24, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update vmodtool-generated docs
parent
4a0d3ba6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
31 deletions
+15
-31
README.rst
README.rst
+15
-31
No files found.
README.rst
View file @
469e3c19
...
@@ -21,29 +21,26 @@ Akamai SecureHD Token Authorization VMOD
...
@@ -21,29 +21,26 @@ Akamai SecureHD Token Authorization VMOD
SYNOPSIS
SYNOPSIS
========
========
.. parsed-literal::
::
import hoailona [from "path"]
import hoailona [from "path"] ;
new xpolicy = hoailona.policy(ENUM type, DURATION ttl, STRING description, BLOB secret, INT start_offset)
new xhosts = hoailona.hosts(
)
new xpolicy = hoailona.policy(ENUM type, DURATION ttl, STRING description, BLOB secret, INT start_offset
)
VOID xhosts.add(STRING host, STRING policy, STRING path, STRING description
)
new xhosts = hoailona.hosts(
)
VOID xhosts.add(STRING host, STRING policy, STRING path, STRING description)
INT xhosts.policy(STRING host, STRING path)
INT xhosts.policy(STRING host, STRING path)
STRING xhosts.token(STRING acl, DURATION ttl, STRING data)
STRING xhosts.token(STRING acl, DURATION ttl, STRING data)
BLOB xhosts.secret()
BLOB xhosts.secret()
STRING xhosts.explain()
STRING xhosts.explain()
STRING version()
STRING version()
::
::
new OBJECT = hoailona.policy(ENUM type [, DURATION ttl]
new OBJECT = hoailona.policy(ENUM type [, DURATION ttl]
...
@@ -246,11 +243,10 @@ subroutines, subsequent calls to ``.token()`` and ``.secret()`` in the
...
@@ -246,11 +243,10 @@ subroutines, subsequent calls to ``.token()`` and ``.secret()`` in the
same backend transaction are based on the policy that was determined
same backend transaction are based on the policy that was determined
by that call.
by that call.
.. _obj_policy:
.. _obj_policy:
policy(...
)
new xpolicy = hoailona.policy(ENUM type, DURATION ttl, STRING description, BLOB secret, INT start_offset
)
-----------
-----------
----------------------------------------------------------------------------------------------
::
::
...
@@ -315,9 +311,6 @@ Examples::
...
@@ -315,9 +311,6 @@ Examples::
# A policy for "access denied"
# A policy for "access denied"
new forbid = hoailona.policy(DENY, description="access denied");
new forbid = hoailona.policy(DENY, description="access denied");
.. _obj_hosts:
.. _obj_hosts:
new xhosts = hoailona.hosts()
new xhosts = hoailona.hosts()
...
@@ -330,8 +323,8 @@ becomes useful by calling the ``.add()`` method.
...
@@ -330,8 +323,8 @@ becomes useful by calling the ``.add()`` method.
.. _func_hosts.add:
.. _func_hosts.add:
hosts.add(...
)
VOID xhosts.add(STRING host, STRING policy, STRING path, STRING description
)
--------------
--------------
--------------------------------------------------------------
::
::
...
@@ -473,7 +466,6 @@ Examples::
...
@@ -473,7 +466,6 @@ Examples::
h.add("evil.org", "deny", description="no access to evil.org");
h.add("evil.org", "deny", description="no access to evil.org");
}
}
.. _func_hosts.policy:
.. _func_hosts.policy:
INT xhosts.policy(STRING host=0, STRING path=0)
INT xhosts.policy(STRING host=0, STRING path=0)
...
@@ -541,7 +533,6 @@ with parameters.
...
@@ -541,7 +533,6 @@ with parameters.
Calling ``.policy()`` with only one of the ``host`` and ``path``
Calling ``.policy()`` with only one of the ``host`` and ``path``
parameters empty is an error.
parameters empty is an error.
.. _func_hosts.token:
.. _func_hosts.token:
STRING xhosts.token(STRING acl, DURATION ttl, STRING data)
STRING xhosts.token(STRING acl, DURATION ttl, STRING data)
...
@@ -603,7 +594,6 @@ Examples::
...
@@ -603,7 +594,6 @@ Examples::
# needed for SecureHD authorization.
# needed for SecureHD authorization.
}
}
.. _func_hosts.secret:
.. _func_hosts.secret:
BLOB xhosts.secret()
BLOB xhosts.secret()
...
@@ -647,7 +637,6 @@ Examples::
...
@@ -647,7 +637,6 @@ Examples::
}
}
}
}
.. _func_hosts.explain:
.. _func_hosts.explain:
STRING xhosts.explain()
STRING xhosts.explain()
...
@@ -682,10 +671,6 @@ Example::
...
@@ -682,10 +671,6 @@ Example::
std.log("Policy determination: " + config.explain());
std.log("Policy determination: " + config.explain());
}
}
.. _func_version:
.. _func_version:
STRING version()
STRING version()
...
@@ -768,7 +753,6 @@ Users of the Luna Control Center can consult:
...
@@ -768,7 +753,6 @@ Users of the Luna Control Center can consult:
* https://control.akamai.com/dl/customers/SPE/EdgeAuth-latest.zip
* https://control.akamai.com/dl/customers/SPE/EdgeAuth-latest.zip
COPYRIGHT
COPYRIGHT
=========
=========
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment