Skip to content

Commit f5ba1f9

Browse files
committed
chore: regenerate json schema
1 parent 60f1f9c commit f5ba1f9

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

backend/json_schema/hanko.config.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@
392392
},
393393
"optional": {
394394
"type": "boolean",
395-
"description": "`optional` determines whether an email address must be provided when an input for this identifier is available.\nIf set to `true` this action can be skipped.",
395+
"description": "`optional` determines whether users must provide an email when prompted.\nThere must always be at least one email address associated with an account. The primary email address cannot be\ndeleted if emails are required (`optional`: false`).",
396396
"default": true
397397
},
398398
"passcode_ttl": {
@@ -627,7 +627,7 @@
627627
},
628628
"optional": {
629629
"type": "boolean",
630-
"description": "`optional` determines whether users must have registered at least one passkey. It controls whether passkey\ncreation can be skipped if prompted for. It also takes part in determining\nthe order of passkey and password acquisition on login and registration (see also `acquire_on_login` and\n`acquire_on_registration`).",
630+
"description": "`optional` determines whether users must create a passkey when prompted. The last remaining passkey cannot be\ndeleted if passkeys are required (`optional: false`).\n\nIt also takes part in determining the order of password and passkey acquisition\non login and registration (see also `acquire_on_login` and `acquire_on_registration`): if one credential type is\nrequired (`optional: false`) then that one takes precedence, i.e. is acquired first.",
631631
"default": true
632632
},
633633
"user_verification": {
@@ -698,7 +698,7 @@
698698
},
699699
"optional": {
700700
"type": "boolean",
701-
"description": "`optional` determines whether users must have a password set. It controls whether password creation can be\nskipped if prompted for. It also takes part in determining the order of password and passkey acquisition\non login and registration (see also `acquire_on_login` and `acquire_on_registration`).",
701+
"description": "`optional` determines whether users must set a password when prompted. The password cannot be deleted if\npasswords are required (`optional: false`).\n\nIt also takes part in determining the order of password and passkey acquisition\non login and registration (see also `acquire_on_login` and `acquire_on_registration`): if one credential type is\nrequired (`optional: false`) then that one takes precedence, i.e. is acquired first.",
702702
"default": false
703703
},
704704
"recovery": {
@@ -732,15 +732,15 @@
732732
},
733733
"passcode_limits": {
734734
"$ref": "#/$defs/RateLimits",
735-
"description": "`passcode_limits` controls rate limits specific to the password/login endpoint."
735+
"description": "`passcode_limits` controls rate limits for passcode operations."
736736
},
737737
"password_limits": {
738738
"$ref": "#/$defs/RateLimits",
739-
"description": "`password_limits` controls rate limits specific to the password/login endpoint."
739+
"description": "`password_limits` controls rate limits for password login operations."
740740
},
741741
"token_limits": {
742742
"$ref": "#/$defs/RateLimits",
743-
"description": "`token_limits` controls rate limits specific to the token endpoint."
743+
"description": "`token_limits` controls rate limits for token exchange operations."
744744
}
745745
},
746746
"additionalProperties": false,
@@ -801,7 +801,7 @@
801801
},
802802
"type": "array",
803803
"minItems": 1,
804-
"description": "`origins` is a list of origins for which passkeys/WebAuthn credentials will be accepted by the server. Must\ninclude the protocol and can only be the effective domain, or a registrable domain suffix of the effective\ndomain, as specified in the [`id`](#id). Except for `localhost`, the protocol **must** always be `https` for\npasskeys/ WebAuthn to work. IP Addresses will not work.\n\nFor an Android application the origin must be the base64 url encoded SHA256 fingerprint of the signing\ncertificate.",
804+
"description": "`origins` is a list of origins for which passkeys/WebAuthn credentials will be accepted by the server. Must\ninclude the protocol and can only be the effective domain, or a registrable domain suffix of the effective\ndomain, as specified in the [`id`](#id). Except for `localhost`, the protocol **must** always be `https` for\npasskeys/WebAuthn to work. IP Addresses will not work.\n\nFor an Android application the origin must be the base64 url encoded SHA256 fingerprint of the signing\ncertificate.",
805805
"default": [
806806
"http://localhost:8888"
807807
]
@@ -917,7 +917,7 @@
917917
"properties": {
918918
"name": {
919919
"type": "string",
920-
"description": "`service` determines the name of the service.\nThis value will is used, e.g. in the subject header of outgoing emails."
920+
"description": "`name` determines the name of the service.\nThis value is used, e.g. in the subject header of outgoing emails."
921921
}
922922
},
923923
"additionalProperties": false,
@@ -970,7 +970,7 @@
970970
},
971971
"error_redirect_url": {
972972
"type": "string",
973-
"description": "`error_redirect_url` is the URL the backend redirects to if an error occurs during third party sign-in.\nErrors are provided as 'error' and 'error_description' query params in the redirect location URL.\n\nWhen using the Hanko web components it should be the URL of the page that embeds the web component such that\nerrors can be processed properly by the web component.\n\nYou do not have to add this URL to the 'allowed_redirect_urls', it is automatically included when validating\nredirect URLs.\n\nRequired if any of the [`providers`](#providers) are `enabled`. Must not have trailing slash."
973+
"description": "`error_redirect_url` is the URL the backend redirects to if an error occurs during third party sign-in.\nErrors are provided as 'error' and 'error_description' query params in the redirect location URL.\n\nWhen using the Hanko web components it should be the URL of the page that embeds the web component such that\nerrors can be processed properly by the web component.\n\nYou do not have to add this URL to the 'allowed_redirect_urls', it is automatically included when validating\nredirect URLs.\n\nRequired if any of the [`providers`](#providers) are `enabled`. Must not have trailing slash."
974974
},
975975
"default_redirect_url": {
976976
"type": "string",
@@ -1009,7 +1009,7 @@
10091009
"properties": {
10101010
"allow_linking": {
10111011
"type": "boolean",
1012-
"description": "`allow_linking` indicates whether existing accounts can be automatically linked with this provider."
1012+
"description": "`allow_linking` indicates whether existing accounts can be automatically linked with this provider.\n\nLinking is based on matching one of the email addresses of an existing user account with the (primary)\nemail address of the third party provider account."
10131013
},
10141014
"client_id": {
10151015
"type": "string",
@@ -1033,7 +1033,7 @@
10331033
"properties": {
10341034
"apple": {
10351035
"$ref": "#/$defs/ThirdPartyProvider",
1036-
"description": "`apple` contains the provider configuration for Sign in with Apple."
1036+
"description": "`apple` contains the provider configuration for Apple."
10371037
},
10381038
"discord": {
10391039
"$ref": "#/$defs/ThirdPartyProvider",
@@ -1088,7 +1088,7 @@
10881088
},
10891089
"optional": {
10901090
"type": "boolean",
1091-
"description": "`optional` determines whether a username must be provided when an input for this identifier is available.\nIf set to `true` this action can be skipped.",
1091+
"description": "`optional` determines whether users must provide a username when prompted. The username can only be changed but\nnot deleted if usernames are required (`optional: false`).",
10921092
"default": true
10931093
},
10941094
"use_as_login_identifier": {

0 commit comments

Comments
 (0)