Reauth params in config
This commit is contained in:
1 parent
9828ee762a
commit
45d4ebcded
3 files changed
+27
-12
No files matched your search
@@ -61,4 +61,14 @@ class Config
|
||||
{
|
||||
return Config::getInstance()->database;
|
||||
}
|
||||
|
||||
public static function getTokenExpiry(): string
|
||||
{
|
||||
return Config::getInstance()->app["tokenExpiry"];
|
||||
}
|
||||
|
||||
public static function getRefreshTokenExpiry(): string
|
||||
{
|
||||
return Config::getInstance()->app["refreshTokenExpiry"];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user