Skip to content

Commit

Permalink
change method visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsn committed Jul 27, 2023
1 parent 9f221c7 commit 15f0935
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Auth0.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function logout()
return redirect()->to($url);
}

private function formatUserProfile(array $profile, bool $update = false): array
protected function formatUserProfile(array $profile, bool $update = false): array
{
$data = [
'identity' => $profile['sub'],
Expand Down
21 changes: 13 additions & 8 deletions src/Config/Auth0.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,20 @@

class Auth0 extends BaseConfig
{
public ?string $domain = null;
public ?string $customDomain = null;
public ?string $clientId = null;
public ?string $clientSecret = null;
public ?string $cookieSecret = null;
public bool $cookieSecure = true;
public ?string $redirectUri = null;
public array $scope = ['openid', 'profile', 'email'];
public ?string $domain = null;
public ?string $customDomain = null;
public ?string $clientId = null;
public ?string $clientSecret = null;
public ?string $cookieSecret = null;
public bool $cookieSecure = true;
public ?string $redirectUri = null;
public array $scope = ['openid', 'profile', 'email'];

/**
* User profile defaults
*/
public string $defaultLanguage = 'pl';

public string $defaultTimezone = 'Europe/Warsaw';

public function afterCallbackSuccess()
Expand Down

0 comments on commit 15f0935

Please sign in to comment.