Skip to content
Snippets Groups Projects
Unverified Commit cc65d6e9 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Migrate SimpleSAML_Auth_TimeLimitedToken to PSR-4.

parent 86b495dc
Branches
Tags
No related merge requests found
<?php
namespace SimpleSAML\Auth;
/**
* A class that generates and verifies time-limited tokens.
*/
class SimpleSAML_Auth_TimeLimitedToken
class TimeLimitedToken
{
/**
......@@ -31,7 +33,7 @@ class SimpleSAML_Auth_TimeLimitedToken
public function __construct($lifetime = 900, $secretSalt = null, $skew = 1)
{
if ($secretSalt === null) {
$secretSalt = SimpleSAML\Utils\Config::getSecretSalt();
$secretSalt = \SimpleSAML\Utils\Config::getSecretSalt();
}
$this->secretSalt = $secretSalt;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment