commit c357138753f89e6ec6240944550f28d97f1e22be
parent d9b6c67958212e33170c075f9b1aeef3c3aa2b49
Author: Dennis Neufeld <dennis.neufeld@students.bfh.ch>
Date: Sat, 31 Oct 2020 12:07:06 +0100
fix add/del_policy
Diffstat:
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/anastasis.rst b/anastasis.rst
@@ -945,7 +945,16 @@ Arguments (example):
::
{
- "policy": [1, 3] //index of authentication method
+ "policy": [
+ {
+ "auth_method_index": 1,
+ "provider_id": "anastasis_01"
+ },
+ {
+ "auth_method_index": 3,
+ "provider_id": "anastasis_02"
+ }
+ ]
}
@@ -955,7 +964,7 @@ Arguments (example):
::
{
- "policy": [1, 3] //index of authentication method
+ "policy_index": 3
}