From 0ac61b0724e5d33fd441c854ff59a04cf3d89113 Mon Sep 17 00:00:00 2001 From: rmarinn <34529290+rmarinn@users.noreply.github.com> Date: Fri, 8 Nov 2024 16:02:40 +0800 Subject: [PATCH] docs(jans-cedarling): remove Token Metadata Schema Signed-off-by: rmarinn <34529290+rmarinn@users.noreply.github.com> --- docs/cedarling/cedarling-policy-store.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/docs/cedarling/cedarling-policy-store.md b/docs/cedarling/cedarling-policy-store.md index d134a553354..108d5ea6bac 100644 --- a/docs/cedarling/cedarling-policy-store.md +++ b/docs/cedarling/cedarling-policy-store.md @@ -176,20 +176,6 @@ This record contains the information needed to validate tokens from this issuer: - **openid_configuration_endpoint** : (*String*) The HTTPS URL for the OpenID Connect configuration endpoint (usually found at `/.well-known/openid-configuration`). - **`access_tokens`, `id_tokens`, `userinfo_tokens`, `tx_tokens`** : (*Object*) Metadata for each toke type. See: [Token Metadata Schema](#token-metadata-schema). -##### Token Metadata Schema - -```json -{ - "trusted": true|false - "principal_identifier": "some_user123", - "role_mapping": "role", -} -``` - -- **trusted** : (Boolean) The type of token -- **principal_id** : (String) The claim used to create the Cedar entity associated with this token. -- **role_mapping** : (String, *optional*) The claim used to create a role for the token. The default value of `role_mapping` is `role`. The claim can be string or array of string. - ##### Token Entity Metadata Schema Each token entity defines metadata and mappings needed to transform a tokenΓÇÖs claims into a Cedar role.