summaryrefslogtreecommitdiff
path: root/yarns/900-local.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-11-05 09:56:36 +0200
committerLars Wirzenius <liw@liw.fi>2018-11-05 09:56:36 +0200
commitdf351c2661cd838e1b7de521f1fcd4f84acdf4a0 (patch)
tree5ebbab360420bcd299d53ddd330b654fc67837e4 /yarns/900-local.yarn
parent5a74ba9553fd21465e04dd4ace7007e2f865d7f1 (diff)
downloadqvisqve-df351c2661cd838e1b7de521f1fcd4f84acdf4a0.tar.gz
Add: sub fields to clients, tokens created by client-cred grant
Diffstat (limited to 'yarns/900-local.yarn')
-rw-r--r--yarns/900-local.yarn4
1 files changed, 4 insertions, 0 deletions
diff --git a/yarns/900-local.yarn b/yarns/900-local.yarn
index cae5db1..276e656 100644
--- a/yarns/900-local.yarn
+++ b/yarns/900-local.yarn
@@ -31,6 +31,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
scopes = get_next_match()
V['allowed_scopes'] = scopes.split()
+ IMPLEMENTS GIVEN API client has subject "(.+)"
+ sub = get_next_match()
+ V['sub'] = sub
+
IMPLEMENTS GIVEN a Qvisqve configuration for "(.+)"
V['iss'] = get_next_match()