From 6299da2e42de180361d1efe8e8e42618e1be22eb Mon Sep 17 00:00:00 2001 From: Michiel de Jong Date: Fri, 3 Sep 2021 11:18:10 +0200 Subject: [PATCH 1/3] Document proposal for acl:agentClass acl:PayingAgent --- proposals/paying-agent.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 proposals/paying-agent.md diff --git a/proposals/paying-agent.md b/proposals/paying-agent.md new file mode 100644 index 00000000..0bdf4594 --- /dev/null +++ b/proposals/paying-agent.md @@ -0,0 +1,17 @@ +### The 'Paying Agent' agent class + +**Note:** This proposal is still experimental, and clients cannot rely +on it yet. See the [Test Suite report](https://github.com/solid/test-suite#table) +for the latest information on which servers currently support it. + +The current WAC spec defines two agent classes: +* `foaf:Agent` (allows access to any agent, i.e., the public) +* `acl:AuthenticatedAgent` (allows access to any authenticated agent) + +This proposal adds a third one: +* `acl:AuthenticatedAgent` (allows access to any paying agent) + +For more information about how to use this agent class in combination with +the `402 Payment Required` http response code and the `Pay` http response header, +and about how to determine whether a given WebID +is a paying agent for a given resource, see [Solid Webmonetization](https://github.com/solid/webmonetization/blob/main/README.md#requiring-payment-for-resources). \ No newline at end of file From a98241ade576c910ce74c1f3e4c6023be5c43114 Mon Sep 17 00:00:00 2001 From: Michiel de Jong Date: Fri, 3 Sep 2021 11:26:57 +0200 Subject: [PATCH 2/3] linebreak --- proposals/paying-agent.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proposals/paying-agent.md b/proposals/paying-agent.md index 0bdf4594..f3d24060 100644 --- a/proposals/paying-agent.md +++ b/proposals/paying-agent.md @@ -14,4 +14,5 @@ This proposal adds a third one: For more information about how to use this agent class in combination with the `402 Payment Required` http response code and the `Pay` http response header, and about how to determine whether a given WebID -is a paying agent for a given resource, see [Solid Webmonetization](https://github.com/solid/webmonetization/blob/main/README.md#requiring-payment-for-resources). \ No newline at end of file +is a paying agent for a given resource, see +[Solid Webmonetization](https://github.com/solid/webmonetization/blob/main/README.md#requiring-payment-for-resources). \ No newline at end of file From 9cc5f5055894b7ad98a6c3be5e610e232f767026 Mon Sep 17 00:00:00 2001 From: Michiel de Jong Date: Fri, 3 Sep 2021 11:53:08 +0200 Subject: [PATCH 3/3] Update proposals/paying-agent.md ah yes, that was a copy-paste typo. thanks! Co-authored-by: Sarven Capadisli --- proposals/paying-agent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/paying-agent.md b/proposals/paying-agent.md index f3d24060..a974548a 100644 --- a/proposals/paying-agent.md +++ b/proposals/paying-agent.md @@ -9,7 +9,7 @@ The current WAC spec defines two agent classes: * `acl:AuthenticatedAgent` (allows access to any authenticated agent) This proposal adds a third one: -* `acl:AuthenticatedAgent` (allows access to any paying agent) +* `acl:PayingAgent` (allows access to any paying agent) For more information about how to use this agent class in combination with the `402 Payment Required` http response code and the `Pay` http response header,