Method |
Description |
|
testAddClaim ( ) |
Testing the addition of a claim via the JWT class |
|
testBase64Decode ( ) |
Testing the custom base64 decoding |
|
testBase64Encode ( ) |
Testing the custom base64 encoding |
|
testDecodeJwtDataInvalidSections ( ) |
Test the decoding of an invalid token |
|
testDecodeJwtDataInvalidSignature ( ) |
Test the decoding of an invalid token signature |
|
testDecodeJwtDataValid ( ) |
Test the decoding of a valid JWT token |
|
testEncodeJwtData ( ) |
Test the encoding of some data into the JWT format |
|
testEncryptDecryptToken ( ) |
Test the encryption and decryption of the token data |
|
testGetSetClaimsCollection ( ) |
Testing the getter/setter for the Claims data |
|
testGetSetHeader ( ) |
Test the getter/setter for the Header instance |
|
testHashEquals ( ) |
Testing the results of the custom hash_equals function |
|
testMagicGetClaimValue ( ) |
Test getting the claim value with the magic method |
|
testSetClaimInvalidType ( ) |
Test the setting of a claim with an invalid type |
|
testSignWithPrivateKeyBadHashType ( ) |
Test the signing with private key data (verify decode) |
|
testSignWithPrivateKeyInvalidKey ( ) |
Test the signing with private key data (verify decode) |
|
testSignWithPrivateKeySignFailure ( ) |
Test the signing with private key data (verify decode) |
|
testSignWithPrivateKeyValid ( ) |
Test the signing with private key data (verify decode) |
|
testVerifyJwtSignatureNoAlg ( ) |
Try the verify call on a JWT with no algorithm in the header |
|
testVerifyJwtSignatureNoAudience ( ) |
Try the verify call on a JWT with no audience defined (defined but empty)
in the header |
|
testVerifyJwtSignatureNotProcessBefore ( ) |
Try the verify call on a JWT with no expiration defined in the header |
|
testVerifyJwtSignaturePastExpire ( ) |
Try the verify call on a JWT with no expiration defined in the header |
|
testVerifyJwtSignatureValid ( ) |
Test the valid verification of a signature with verify() method |
|