@@ 64-73 (lines=10) @@ | ||
61 | * @note Reimplement this if self::getAuthenticationRequests( AuthManager::ACTION_REMOVE ) |
|
62 | * doesn't return requests that will revoke all access for the user. |
|
63 | */ |
|
64 | public function providerRevokeAccessForUser( $username ) { |
|
65 | $reqs = $this->getAuthenticationRequests( |
|
66 | AuthManager::ACTION_REMOVE, [ 'username' => $username ] |
|
67 | ); |
|
68 | foreach ( $reqs as $req ) { |
|
69 | $req->username = $username; |
|
70 | $req->action = AuthManager::ACTION_REMOVE; |
|
71 | $this->providerChangeAuthenticationData( $req ); |
|
72 | } |
|
73 | } |
|
74 | ||
75 | public function providerAllowsPropertyChange( $property ) { |
|
76 | return true; |
@@ 50-58 (lines=9) @@ | ||
47 | * @note Reimplement this if self::getAuthenticationRequests( AuthManager::ACTION_REMOVE ) |
|
48 | * doesn't return requests that will revoke all access for the user. |
|
49 | */ |
|
50 | public function providerRevokeAccessForUser( $username ) { |
|
51 | $reqs = $this->getAuthenticationRequests( |
|
52 | AuthManager::ACTION_REMOVE, [ 'username' => $username ] |
|
53 | ); |
|
54 | foreach ( $reqs as $req ) { |
|
55 | $req->username = $username; |
|
56 | $this->providerChangeAuthenticationData( $req ); |
|
57 | } |
|
58 | } |
|
59 | ||
60 | public function providerAllowsAuthenticationDataChange( |
|
61 | AuthenticationRequest $req, $checkData = true |