File tree 2 files changed +3
-5
lines changed
app/code/Magento/AdminAdobeIms/Model/Authorization
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ private function processRequest()
99
99
}
100
100
101
101
try {
102
- $ adminUserId = $ this ->tokenUserService ->updateAdminUserProfile ($ bearerToken );
102
+ $ adminUserId = $ this ->tokenUserService ->getAdminUserIdByToken ($ bearerToken );
103
103
} catch (AuthenticationException $ e ) {
104
104
$ this ->isRequestProcessed = true ;
105
105
return ;
@@ -109,8 +109,6 @@ private function processRequest()
109
109
$ this ->isRequestProcessed = true ;
110
110
}
111
111
112
-
113
-
114
112
/**
115
113
* Getting requested token
116
114
*
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public function __construct(
69
69
}
70
70
71
71
/**
72
- * Update adobe_user_id for admin user
72
+ * get adobe_user_id from token and store it for admin user
73
73
*
74
74
* @param string $bearerToken
75
75
* @return int
@@ -78,7 +78,7 @@ public function __construct(
78
78
* @throws CouldNotSaveException
79
79
* @throws InvalidArgumentException
80
80
*/
81
- public function updateAdminUserProfile (string $ bearerToken ): int
81
+ public function getAdminUserIdByToken (string $ bearerToken ): int
82
82
{
83
83
$ tokenData = $ this ->tokenReader ->read ($ bearerToken );
84
84
You can’t perform that action at this time.
0 commit comments