Make WordPress Core


Ignore:
Timestamp:
10/22/2020 03:04:23 PM (4 years ago)
Author:
TimothyBlynJacobs
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-application-passwords.php

    r49109 r49276  
    5252        $new_item = array(
    5353            'uuid'      => wp_generate_uuid4(),
     54            'app_id'    => empty( $args['app_id'] ) ? '' : $args['app_id'],
    5455            'name'      => $args['name'],
    5556            'password'  => $hashed_password,
Note: See TracChangeset for help on using the changeset viewer.