Smart.Framework Logo

final class \SmartCsrf
{ } ::

Class Smart.Framework CSRF
A Safety Handler against Cross-Site Request Forgery (CSRF)


class Methods

public static function newPrivateKey ( ) {} :: STRING
public static function getPublicKey ( string $privKey, string $secret ) {} :: STRING
public static function verifyKeys ( string $pubKey, string $privKey, string $secret ) {} :: BOOL

class Properties


class Constants


Sample code: PHP

<?php

// Usage example:
 SmartCsrf::some_method_of_this_class(...);

// #end php code


documentation generated on: 2024-12-16 17:13:19 +0000


Smart.Framework © 2009-2024 unix-world.org