Property | Type | Description | |
---|---|---|---|
$configuration | |||
$store | Trianglman\Sqrl\SqrlStoreInterface | ||
$validator | Trianglman\Sqrl\NonceValidatorInterface |
Method | Description | |
---|---|---|
__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) |
Method | Description | |
---|---|---|
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 | ||
return | string |
protected SqrlConfiguration,Trianglman\Sqrl $configuration | ||
return |
protected SqrlStoreInterface,Trianglman\Sqrl $store | ||
return | Trianglman\Sqrl\SqrlStoreInterface |