OPEN SOURCE SOCIAL NETWORK 6.6
Loading...
Searching...
No Matches
OssnJWT Class Reference

Public Member Functions

 __construct ($data, $key)
 
 encode ()
 
 decode ()
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $data,
  $key 
)

OSSN JWT init uses HS256

Parameters
array$dataArray data
string$keyKey
Returns
void

Member Function Documentation

◆ decode()

decode ( )

Return decoded array as stdClass object

Returns
object

◆ encode()

encode ( )

Return encoded data

Returns
string

The documentation for this class was generated from the following file: