You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App Passwords: Support an app_id to uniquely identify instances of an app.
Apps may now optionally include an `app_id` parameter when directing the user to the Authorize Application screen. This allows for instances of an application to be identified and potentially revoked or blocked.
Props TimothyBlynJacobs, georgestephanis.
Fixes #51583.
git-svn-id: https://develop.svn.wordpress.org/trunk@49276 602fd350-edb4-49c9-b593-d223f7449a82
@@ -615,6 +620,12 @@ public function get_item_schema() {
615
620
'context' => array( 'view', 'edit', 'embed' ),
616
621
'readonly' => true,
617
622
),
623
+
'app_id' => array(
624
+
'description' => __( 'A uuid provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.' ),
625
+
'type' => 'string',
626
+
'format' => 'uuid',
627
+
'context' => array( 'view', 'edit', 'embed' ),
628
+
),
618
629
'name' => array(
619
630
'description' => __( 'The name of the application password.' ),
0 commit comments