File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -38,5 +38,5 @@ interface Authenticator extends IAuthenticator
3838 * Performs an authentication.
3939 * @throws AuthenticationException
4040 */
41- function authenticate (string $ user , string $ password ): IIdentity ;
41+ function authenticate (string $ username , string $ password ): IIdentity ;
4242}
Original file line number Diff line number Diff line change @@ -81,18 +81,18 @@ final public function getStorage(): UserStorage
8181
8282 /**
8383 * Conducts the authentication process. Parameters are optional.
84- * @param string|IIdentity $user name or Identity
84+ * @param string|IIdentity $username name or Identity
8585 * @throws AuthenticationException if authentication was not successful
8686 */
8787 public function login (
88- string |IIdentity $ user ,
88+ string |IIdentity $ username ,
8989 #[\SensitiveParameter]
9090 ?string $ password = null ,
9191 ): void
9292 {
9393 $ this ->logout (true );
94- if ($ user instanceof IIdentity) {
95- $ this ->identity = $ user ;
94+ if ($ username instanceof IIdentity) {
95+ $ this ->identity = $ username ;
9696 } else {
9797 $ authenticator = $ this ->getAuthenticator ();
9898 $ this ->identity = $ authenticator instanceof Authenticator
You can’t perform that action at this time.
0 commit comments