Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
createAdminAccessToken ($username, $password) | |
revokeAdminAccessToken ($adminId) | |
Interface providing token generation for Admins
@api
Definition at line 15 of file AdminTokenServiceInterface.php.
createAdminAccessToken | ( | $username, | |
$password | |||
) |
Create access token for admin given the admin credentials.
string | $username | |
string | $password |
Implemented in AdminTokenService.
revokeAdminAccessToken | ( | $adminId | ) |
Revoke token by admin id.
int | $adminId |
Implemented in AdminTokenService.