Skip to content

Commit bb5070b

Browse files
authored
feat: remove deprecated AndroidSafetynet (#489)
1 parent 3b9dfa3 commit bb5070b

19 files changed

+20
-68
lines changed

config/webauthn.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -216,18 +216,6 @@
216216

217217
'attestation_conveyance' => 'none',
218218

219-
/*
220-
|--------------------------------------------------------------------------
221-
| Google Safetynet ApiKey
222-
|--------------------------------------------------------------------------
223-
|
224-
| Api key to use Google Safetynet.
225-
| See https://developer.android.com/training/safetynet/attestation
226-
|
227-
*/
228-
229-
'google_safetynet_api_key' => env('GOOGLE_SAFETYNET_API_KEY'),
230-
231219
/*
232220
|--------------------------------------------------------------------------
233221
| Webauthn Public Key Credential Parameters

src/Actions/AttemptToAuthenticate.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ class AttemptToAuthenticate
2020
public function __construct(
2121
protected StatefulGuard $guard,
2222
protected LoginRateLimiter $limiter
23-
) {
24-
}
23+
) {}
2524

2625
/**
2726
* Handle the incoming request.

src/Actions/EnsureLoginIsNotThrottled.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ class EnsureLoginIsNotThrottled
1515
*/
1616
public function __construct(
1717
protected LoginRateLimiter $limiter
18-
) {
19-
}
18+
) {}
2019

2120
/**
2221
* Handle the incoming request.

src/Actions/LoginUserRetrieval.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ class LoginUserRetrieval
1818
*/
1919
public function __construct(
2020
protected LoginRateLimiter $limiter
21-
) {
22-
}
21+
) {}
2322

2423
/**
2524
* Handle the incoming request.

src/Actions/PrepareAuthenticatedSession.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ class PrepareAuthenticatedSession
1313
*/
1414
public function __construct(
1515
protected LoginRateLimiter $limiter
16-
) {
17-
}
16+
) {}
1817

1918
/**
2019
* Handle the incoming request.

src/Events/WebauthnLogin.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ class WebauthnLogin
1919
public function __construct(
2020
public User $user,
2121
public bool $eloquent = false
22-
) {
23-
}
22+
) {}
2423
}

src/Events/WebauthnLoginData.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@ class WebauthnLoginData
2020
public function __construct(
2121
public User $user,
2222
public PublicKeyCredentialRequestOptions $publicKey
23-
) {
24-
}
23+
) {}
2524
}

src/Events/WebauthnRegister.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@ class WebauthnRegister
1717
*/
1818
public function __construct(
1919
public Model $webauthnKey
20-
) {
21-
}
20+
) {}
2221
}

src/Events/WebauthnRegisterData.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@ class WebauthnRegisterData
2020
public function __construct(
2121
public User $user,
2222
public PublicKeyCredentialCreationOptions $publicKey
23-
) {
24-
}
23+
) {}
2524
}

src/Events/WebauthnRegisterFailed.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@ class WebauthnRegisterFailed
2020
public function __construct(
2121
public User $user,
2222
public ?Exception $exception = null
23-
) {
24-
}
23+
) {}
2524
}

0 commit comments

Comments
 (0)