Skip to content

Commit

Permalink
Merge branch 'laravel11_update' into 'main'
Browse files Browse the repository at this point in the history
updated auth provider for laravel 11

See merge request ecphp/laravel-ecas!7
  • Loading branch information
drupol committed Nov 12, 2024
2 parents 512b01f + c6ea1c3 commit 3a2e9da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Auth/EcasUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public function __construct(
private CasUserProvider $casUserProvider
) {}

public function rehashPasswordIfRequired(Authenticatable $user, array $credentials, bool $force = false) {}

Check failure on line 25 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (ubuntu-latest, 8.1)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::rehashPasswordIfRequired() has no return type specified.

Check failure on line 25 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (ubuntu-latest, 8.1)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::rehashPasswordIfRequired() has parameter $credentials with no value type specified in iterable type array.

Check failure on line 25 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (ubuntu-latest, 8.3)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::rehashPasswordIfRequired() has no return type specified.

Check failure on line 25 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (ubuntu-latest, 8.3)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::rehashPasswordIfRequired() has parameter $credentials with no value type specified in iterable type array.

Check failure on line 25 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (ubuntu-latest, 8.2)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::rehashPasswordIfRequired() has no return type specified.

Check failure on line 25 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (ubuntu-latest, 8.2)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::rehashPasswordIfRequired() has parameter $credentials with no value type specified in iterable type array.

Check failure on line 25 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (macOS-latest, 8.3)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::rehashPasswordIfRequired() has no return type specified.

Check failure on line 25 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (macOS-latest, 8.3)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::rehashPasswordIfRequired() has parameter $credentials with no value type specified in iterable type array.

Check failure on line 25 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (macOS-latest, 8.2)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::rehashPasswordIfRequired() has no return type specified.

Check failure on line 25 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (macOS-latest, 8.2)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::rehashPasswordIfRequired() has parameter $credentials with no value type specified in iterable type array.

Check failure on line 25 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (macOS-latest, 8.1)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::rehashPasswordIfRequired() has no return type specified.

Check failure on line 25 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (macOS-latest, 8.1)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::rehashPasswordIfRequired() has parameter $credentials with no value type specified in iterable type array.

public function retrieveByCredentials(array $credentials): ?Authenticatable

Check failure on line 27 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (ubuntu-latest, 8.1)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::retrieveByCredentials() has parameter $credentials with no value type specified in iterable type array.

Check failure on line 27 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (ubuntu-latest, 8.3)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::retrieveByCredentials() has parameter $credentials with no value type specified in iterable type array.

Check failure on line 27 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (ubuntu-latest, 8.2)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::retrieveByCredentials() has parameter $credentials with no value type specified in iterable type array.

Check failure on line 27 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (macOS-latest, 8.3)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::retrieveByCredentials() has parameter $credentials with no value type specified in iterable type array.

Check failure on line 27 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (macOS-latest, 8.2)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::retrieveByCredentials() has parameter $credentials with no value type specified in iterable type array.

Check failure on line 27 in src/Auth/EcasUserProvider.php

View workflow job for this annotation

GitHub Actions / Unit Tests (macOS-latest, 8.1)

Method EcPhp\LaravelEcas\Auth\EcasUserProvider::retrieveByCredentials() has parameter $credentials with no value type specified in iterable type array.
{
$maybeUser = $this->casUserProvider->retrieveByCredentials($credentials);
Expand Down
2 changes: 2 additions & 0 deletions src/Auth/User/EcasUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public function getAuthPassword(): ?string
return null;
}

public function getAuthPasswordName() {}

public function getGroups(): array
{
$attributes = $this->getAttributes();
Expand Down

0 comments on commit 3a2e9da

Please sign in to comment.