helpful-laptop-78221
06/29/2023, 7:21 AMchilly-king-10285
06/29/2023, 7:21 AMchilly-king-10285
06/29/2023, 7:22 AMtypescript import { Namespace, Context } from "@ory/keto-namespace-types"      class User implements Namespace {}   class Document implements Namespace {}   class Folder implements Namespace {}viewUser:bobreadme.txtDocumenttypescript is User:bob in viewers of Document:readme.txt // all viewers can view the document   is User:bob in editors of Document:readme.txt // all editors can view the document   is User:bob in owners of Document:readme.txt // all owners can view the documenthelpful-laptop-78221
06/29/2023, 7:25 AMchilly-king-10285
06/29/2023, 7:25 AMchilly-king-10285
06/29/2023, 7:26 AMketo namespace-h, --help help for namespace    -c, --config strings Config files to load, overwriting in the order specified. (default [/home/runner/keto.yml])keto namespace migrate uphelpful-laptop-78221
07/03/2023, 2:16 AMchilly-king-10285
07/03/2023, 2:16 AMchilly-king-10285
07/03/2023, 2:16 AMhydra.config.urls.loginhydra.config.urls.consentyaml hydra:   config:     urls:       login: <https://my-kratos-instance/login>       consent: <https://my-kratos-instance/consent>selfservice.flows.login.ui_urlyaml selfservice:   flows:     login:       ui_url: <http://127.0.0.1:4455/auth/login>helpful-laptop-78221
07/03/2023, 2:21 AMchilly-king-10285
07/03/2023, 2:21 AMchilly-king-10285
07/03/2023, 2:22 AMoauth2/urls/loginoauth2/urls/consentyaml oauth2:    urls:    consent: <http://localhost:3000/consent>    login: <http://localhost:3000/login>bash ory update oauth2-config <project-id> --file config.yamlselfservice.flows.login.ui_urlyaml selfservice:    flows:    login:    ui_url: <http://127.0.0.1:3000/auth/login>helpful-laptop-78221
07/03/2023, 2:37 AMhelpful-laptop-78221
07/03/2023, 2:37 AMchilly-king-10285
07/03/2023, 2:37 AMchilly-king-10285
07/03/2023, 2:38 AMjavascript // Redirect the user to the Ory Hydra's OAuth 2.0 Authorization endpoint window.location.href = '<https://your-hydra-instance/oauth2/auth?client_id=your-client-id&redirect_uri=your-redirect-uri&response_type=code&scope=openid+offline>';helpful-laptop-78221
07/03/2023, 3:59 AMchilly-king-10285
07/03/2023, 3:59 AMchilly-king-10285
07/03/2023, 3:59 AMhelpful-laptop-78221
07/03/2023, 7:07 AMchilly-king-10285
07/03/2023, 7:07 AMchilly-king-10285
07/03/2023, 7:07 AM