encode() encode( $payload, $key, $alg = 'HS256', $keyId = null) : mixed Parameters $payload $key $alg $keyId Returns mixed
decode() decode( $jwt, $key = null, $allowedAlgorithms = null) : mixed Parameters $jwt $key $allowedAlgorithms Returns mixed