Skip to content

Commit 02dfe21

Browse files
authored
Merge pull request #21 from noha/development
fixed class prefix
2 parents 8d57413 + e965a8f commit 02dfe21

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

source/JSONWebToken-Core-Tests.package/JSONWebTokenTest.class/instance/testDecodingThreeParts.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ testDecodingThreeParts
55
invalid := $. join: ($. split: tokenString) allButLast.
66
self
77
should: [ JsonWebSignature materializeCompact: invalid key: 'foobar' ]
8-
raise: AGInvalidTokenFormat.
8+
raise: JWSInvalidTokenFormat.

source/JSONWebToken-Core.package/JWSCompactSerializer.class/instance/materialize.key.checkSignature..st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ materialize: aString key: aKeyString checkSignature: checkSignature
44
| parts header jws |
55

66
parts := $. split: aString.
7-
(parts size = 3) ifFalse: [ AGInvalidTokenFormat signal: 'the format of the token is invalid' ].
7+
(parts size = 3) ifFalse: [ JWSInvalidTokenFormat signal: 'the format of the token is invalid' ].
88
header := JWSHeader fromJson: ( self base64Decoded: parts first ) utf8Decoded.
99
jws := JsonWebSignature new
1010
key: aKeyString;

source/JSONWebToken-Core.package/AGInvalidTokenFormat.class/README.md renamed to source/JSONWebToken-Core.package/JWSInvalidTokenFormat.class/README.md

File renamed without changes.

source/JSONWebToken-Core.package/AGInvalidTokenFormat.class/properties.json renamed to source/JSONWebToken-Core.package/JWSInvalidTokenFormat.class/properties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"pools" : [ ],
77
"classvars" : [ ],
88
"instvars" : [ ],
9-
"name" : "AGInvalidTokenFormat",
9+
"name" : "JWSInvalidTokenFormat",
1010
"type" : "normal"
1111
}

0 commit comments

Comments
 (0)