1 | <?php |
||
29 | abstract class AbstractPreAuthenticationProvider extends AbstractAuthenticationProvider |
||
|
|||
30 | implements PreAuthenticationProvider |
||
31 | { |
||
32 | |||
33 | public function getAuthenticationRequests( $action, array $options ) { |
||
36 | |||
37 | public function testForAuthentication( array $reqs ) { |
||
40 | |||
41 | public function postAuthentication( $user, AuthenticationResponse $response ) { |
||
43 | |||
44 | public function testForAccountCreation( $user, $creator, array $reqs ) { |
||
47 | |||
48 | public function testUserForCreation( $user, $autocreate, array $options = [] ) { |
||
49 | return \StatusValue::newGood(); |
||
50 | } |
||
51 | |||
52 | public function postAccountCreation( $user, $creator, AuthenticationResponse $response ) { |
||
54 | |||
55 | public function testForAccountLink( $user ) { |
||
58 | |||
59 | public function postAccountLink( $user, AuthenticationResponse $response ) { |
||
61 | |||
62 | } |
||
63 |