Свойство | Тип | Описание | |
---|---|---|---|
$configuration | |||
$store | Trianglman\Sqrl\SqrlStoreInterface | ||
$validator | Trianglman\Sqrl\NonceValidatorInterface |
Метод | Описание | |
---|---|---|
__construct ( |
||
nutIPMatches ( string $nut, string $ip ) : boolean | Verifies the original nut's IP matches the current IP | |
validateNut ( string $nut, string $signingKey = null ) : integer | Validates a supplied nut | |
validateServer ( string $server, string $nut, string $secure ) : boolean | Validates the returned server value | |
validateSignature ( string $orig, string $key, string $sig ) : boolean | Validates a secondary request signature (Unlock Request or New Key) |
Метод | Описание | |
---|---|---|
generateQry ( $nut ) : string | This should eventually become a trait and share the functionality with SqrlGenerate instead of being duplicate code | |
getUrl ( $nut ) : string | This should eventually become a trait and share the functionality with SqrlGenerate instead of being duplicate code |
public __construct ( |
||
$config | ||
$validator | Trianglman\Sqrl\NonceValidatorInterface | |
$storage | Trianglman\Sqrl\SqrlStoreInterface |
protected generateQry ( $nut ) : string | ||
Результат | string |
protected SqrlConfiguration,Trianglman\Sqrl $configuration | ||
Результат |
protected SqrlStoreInterface,Trianglman\Sqrl $store | ||
Результат | Trianglman\Sqrl\SqrlStoreInterface |