getAuthenticationRequests( AuthManager::ACTION_REMOVE, [ 'username' => $username ] ); foreach ( $reqs as $req ) { $req->username = $username; $this->providerChangeAuthenticationData( $req ); } } /** * @inheritDoc * @stable to override */ public function providerAllowsAuthenticationDataChange( AuthenticationRequest $req, $checkData = true ) { return \StatusValue::newGood( 'ignored' ); } /** * @inheritDoc * @stable to override */ public function providerChangeAuthenticationData( AuthenticationRequest $req ) { } /** * @inheritDoc * @stable to override */ public function testForAccountCreation( $user, $creator, array $reqs ) { return \StatusValue::newGood(); } /** * @inheritDoc * @stable to override */ public function continueSecondaryAccountCreation( $user, $creator, array $reqs ) { throw new \BadMethodCallException( __METHOD__ . ' is not implemented.' ); } /** * @inheritDoc * @stable to override */ public function postAccountCreation( $user, $creator, AuthenticationResponse $response ) { } /** * @inheritDoc * @stable to override */ public function testUserForCreation( $user, $autocreate, array $options = [] ) { return \StatusValue::newGood(); } /** * @inheritDoc * @stable to override */ public function autoCreatedAccount( $user, $source ) { } }