mirror of
https://github.com/anikeen-com/id.git
synced 2026-03-17 15:46:17 +00:00
Compare commits
1 Commits
1.0.0-rc.4
...
1.0.0-rc.5
| Author | SHA1 | Date | |
|---|---|---|---|
| bb5df7f115 |
@@ -66,11 +66,6 @@ class AnikeenId
|
|||||||
*/
|
*/
|
||||||
private static string $refreshTokenField = 'anikeen_id_refresh_token';
|
private static string $refreshTokenField = 'anikeen_id_refresh_token';
|
||||||
|
|
||||||
/**
|
|
||||||
* Anikeen ID environment mode.
|
|
||||||
*/
|
|
||||||
protected static ?string $mode = null;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Guzzle is used to make http requests.
|
* Guzzle is used to make http requests.
|
||||||
*/
|
*/
|
||||||
@@ -148,7 +143,7 @@ class AnikeenId
|
|||||||
|
|
||||||
public static function getMode(): string
|
public static function getMode(): string
|
||||||
{
|
{
|
||||||
return config('services.anikeen.mode', 'production');
|
return config('services.anikeen.mode') ?: 'production';
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function useRefreshTokenField(string $refreshTokenField): void
|
public static function useRefreshTokenField(string $refreshTokenField): void
|
||||||
|
|||||||
Reference in New Issue
Block a user