Skip to content

Commit db46ba1

Browse files
modify clients to use api key where appropriate
1 parent 7d306a0 commit db46ba1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/FusionAuth/FusionAuthClient.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function cancelAction($actionId, $request)
136136
*/
137137
public function changePassword($changePasswordId, $request)
138138
{
139-
return $this->startAnonymous()->uri("/api/user/change-password")
139+
return $this->start()->uri("/api/user/change-password")
140140
->urlSegment($changePasswordId)
141141
->bodyHandler(new JSONBodyHandler($request))
142142
->post()
@@ -1029,7 +1029,7 @@ public function exchangeUserCredentialsForAccessToken($username, $password, $cli
10291029
*/
10301030
public function forgotPassword($request)
10311031
{
1032-
return $this->startAnonymous()->uri("/api/user/forgot-password")
1032+
return $this->start()->uri("/api/user/forgot-password")
10331033
->bodyHandler(new JSONBodyHandler($request))
10341034
->post()
10351035
->go();
@@ -1738,7 +1738,7 @@ public function removeUserFromFamily($familyId, $userId)
17381738
*/
17391739
public function resendEmailVerification($email)
17401740
{
1741-
return $this->startAnonymous()->uri("/api/user/verify-email")
1741+
return $this->start()->uri("/api/user/verify-email")
17421742
->urlParameter("email", $email)
17431743
->put()
17441744
->go();

0 commit comments

Comments
 (0)