README.md (510B)
1 # Authentication backends 2 3 These authentication backends are used for user identification and authentication. 4 5 Every Authentication must implement [the Auth interface](Auth.class.php) and must provide the 2 methods 6 7 1. `login()` must do an authentification. On successful logins, it should return `Auth::STATUS_SUCCESS`, otherwise this method must return `Auth::STATUS_FAILED`. 8 1. `username()` may find out the username of the user which want to log in. If this is not possible, this method must return `null`.