Skip to content

Commit

Permalink
fix: composer.json configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanparasteh committed Mar 18, 2022
1 parent 089e481 commit 590584d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "hasanparasteh/jwt-experiments",
"description": "This is just a demo to learn how to create a secure jwt token",
"type": "project",
"name": "hasanparasteh/secure-jwt",
"description": "A wrapper to help you build secure jwt tokens",
"license": "MIT",
"type": "library",
"autoload": {
"psr-4": {
"Hasanparasteh\\JwtExperiments\\": "src/"
"hasanparasteh\\": "src/"
}
},
"authors": [
Expand Down
3 changes: 2 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

use Hasanparasteh\JwtExperiments\SecureJWT;

use hasanparasteh\SecureJWT;

require "vendor/autoload.php";

Expand Down
2 changes: 1 addition & 1 deletion src/Cipher.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Hasanparasteh\JwtExperiments;
namespace hasanparasteh;

use phpseclib3\Crypt\RSA;

Expand Down
2 changes: 1 addition & 1 deletion src/Helpers.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Hasanparasteh\JwtExperiments;
namespace hasanparasteh;

use Sop\JWX\JWT\Claim\Claim;

Expand Down
2 changes: 1 addition & 1 deletion src/SecureJWT.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Hasanparasteh\JwtExperiments;
namespace hasanparasteh;

use Sop\CryptoEncoding\PEM;
use Sop\JWX\JWE\EncryptionAlgorithm\A256CBCHS512Algorithm;
Expand Down

0 comments on commit 590584d

Please sign in to comment.