Mercurial > prosody-modules
comparison mod_http_oauth2/mod_http_oauth2.lua @ 5389:d872a1cd8c1d
mod_http_oauth2: Specify that 'contacts' items are emails in client registration
Not enforced, but good for documentation.
> Array of strings representing ways to contact people responsible for
> this client, typically email addresses.
"typically" isn't a great word in a specification, so one could persume
this may be e.g. URLs like https://example.com/contact-us or so as well.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 30 Apr 2023 15:20:05 +0200 |
parents | 832c515b1650 |
children | f2363e6d9a64 |
comparison
equal
deleted
inserted
replaced
5388:832c515b1650 | 5389:d872a1cd8c1d |
---|---|
709 response_types = { type = "array"; items = { type = "string"; enum = { "code"; "token" } }; default = { "code" } }; | 709 response_types = { type = "array"; items = { type = "string"; enum = { "code"; "token" } }; default = { "code" } }; |
710 client_name = { type = "string" }; | 710 client_name = { type = "string" }; |
711 client_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; | 711 client_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; |
712 logo_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; | 712 logo_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; |
713 scope = { type = "string" }; | 713 scope = { type = "string" }; |
714 contacts = { type = "array"; items = { type = "string" } }; | 714 contacts = { type = "array"; items = { type = "string"; format = "email" } }; |
715 tos_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; | 715 tos_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; |
716 policy_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; | 716 policy_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; |
717 jwks_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; | 717 jwks_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; |
718 jwks = { type = "object"; description = "JSON Web Key Set, RFC 7517" }; | 718 jwks = { type = "object"; description = "JSON Web Key Set, RFC 7517" }; |
719 software_id = { type = "string"; format = "uuid" }; | 719 software_id = { type = "string"; format = "uuid" }; |