-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
copied source from smalltalkhub. Converted the ConfigurationOf to a B…
…aselineOf
- Loading branch information
Showing
136 changed files
with
535 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"separateMethodMetaAndSource" : false, | ||
"noMethodMetaData" : true, | ||
"useCypressPropertiesFile" : true | ||
} |
Empty file.
14 changes: 14 additions & 0 deletions
14
source/BaselineOfJSONWebToken.package/BaselineOfJSONWebToken.class/instance/baseline..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
baselines | ||
baseline: spec | ||
<baseline> | ||
|
||
spec for: #'common' do: [ | ||
spec project: 'NeoJSON' with: [ | ||
spec | ||
className: #ConfigurationOfNeoJSON; | ||
versionString: '13'; | ||
repository: 'http://mc.stfx.eu/Neo' ]. | ||
spec | ||
package: #'JSONWebToken-Core'; | ||
package: 'JSONWebToken-Tests' with: [ | ||
spec requires: #(#'JSONWebToken-Core' ). ]. ]. |
11 changes: 11 additions & 0 deletions
11
source/BaselineOfJSONWebToken.package/BaselineOfJSONWebToken.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "BaselineOf", | ||
"category" : "BaselineOfJSONWebToken", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "BaselineOfJSONWebToken", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
source/BaselineOfJSONWebToken.package/monticello.meta/categories.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SystemOrganization addCategory: #BaselineOfJSONWebToken! |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
(name 'BaselineOfJSONWebToken') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{ } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"separateMethodMetaAndSource" : false, | ||
"noMethodMetaData" : true, | ||
"useCypressPropertiesFile" : true | ||
} |
Empty file.
7 changes: 7 additions & 0 deletions
7
source/JSONWebToken-Core.package/JOSEHeader.class/class/neoJsonMapping..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
as yet unclassified | ||
neoJsonMapping: mapper | ||
mapper for: self do: [ :mapping | | ||
mapping | ||
mapInstVar: #type to: #typ; | ||
mapInstVar: #algorithm to: #alg ] | ||
|
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JOSEHeader.class/instance/^equals.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
= aHeader | ||
^ aHeader hasSameElements: properties |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JOSEHeader.class/instance/hasSameElements..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
hasSameElements: aDictionary | ||
^ (properties difference: aDictionary) isEmpty |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JOSEHeader.class/instance/hash.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
hash | ||
^ properties hash |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JOSEHeader.class/instance/typ..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
typ: aString | ||
self type: aString |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JOSEHeader.class/instance/typ.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
typ | ||
^ self type |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JOSEHeader.class/instance/type..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
type: anObject | ||
properties at: 'typ' put: anObject |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JOSEHeader.class/instance/type.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
type | ||
^ properties at: 'typ' |
13 changes: 13 additions & 0 deletions
13
source/JSONWebToken-Core.package/JOSEHeader.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "Object", | ||
"category" : "JSONWebToken-Core-JSONWebToken-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ | ||
"properties" | ||
], | ||
"name" : "JOSEHeader", | ||
"type" : "normal" | ||
} |
Empty file.
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWAHMACSHA256.class/class/parameterValue.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
as yet unclassified | ||
parameterValue | ||
^ 'HS256' |
5 changes: 5 additions & 0 deletions
5
source/JSONWebToken-Core.package/JWAHMACSHA256.class/class/signMessage.withKey..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
sign | ||
signMessage: aString withKey: anObject | ||
^ ((HMAC on: SHA256) | ||
key: anObject asByteArray; | ||
digestMessage: aString asByteArray) |
11 changes: 11 additions & 0 deletions
11
source/JSONWebToken-Core.package/JWAHMACSHA256.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "JsonWebAlgorithm", | ||
"category" : "JSONWebToken-Core-JSONWebToken-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "JWAHMACSHA256", | ||
"type" : "normal" | ||
} |
Empty file.
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWANone.class/class/parameterValue.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
as yet unclassified | ||
parameterValue | ||
^ 'none' |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWANone.class/class/signMessage.withKey..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
signing | ||
signMessage: aString withKey: aKeyString | ||
^ '' |
11 changes: 11 additions & 0 deletions
11
source/JSONWebToken-Core.package/JWANone.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "JsonWebAlgorithm", | ||
"category" : "JSONWebToken-Core-JSONWebToken-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "JWANone", | ||
"type" : "normal" | ||
} |
Empty file.
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWCryptoHeader.class/instance/alg..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
alg: anObject | ||
properties at: 'alg' put: anObject |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWCryptoHeader.class/instance/alg.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
alg | ||
^ properties at: 'alg' |
4 changes: 4 additions & 0 deletions
4
source/JSONWebToken-Core.package/JWCryptoHeader.class/instance/algorithm..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
algorithm: anObject | ||
algorithm := anObject. | ||
self alg: anObject parameterValue |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWCryptoHeader.class/instance/algorithm.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
algorithm | ||
^ algorithm |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWCryptoHeader.class/instance/asJson.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
converting | ||
asJson | ||
^ NeoJSONWriter toString: (properties copy at: 'alg' put: algorithm parameterValue; yourself) |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWCryptoHeader.class/instance/contentType..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
as yet unclassified | ||
contentType: aString | ||
properties at: 'typ' put: aString |
4 changes: 4 additions & 0 deletions
4
source/JSONWebToken-Core.package/JWCryptoHeader.class/instance/initialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
initialization | ||
initialize | ||
super initialize. | ||
properties := SmallDictionary new |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWCryptoHeader.class/instance/registeredHeaders.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
registeredHeaders | ||
^ #( typ cty ) |
5 changes: 5 additions & 0 deletions
5
source/JSONWebToken-Core.package/JWCryptoHeader.class/instance/setProperties..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
accessing | ||
setProperties: aDictionary | ||
properties := aDictionary. | ||
(properties includesKey: 'alg') ifTrue: [ | ||
algorithm := JsonWebAlgorithm named: (properties at: 'alg') ] |
13 changes: 13 additions & 0 deletions
13
source/JSONWebToken-Core.package/JWCryptoHeader.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "JOSEHeader", | ||
"category" : "JSONWebToken-Core-JSONWebToken-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ | ||
"algorithm" | ||
], | ||
"name" : "JWCryptoHeader", | ||
"type" : "normal" | ||
} |
Empty file.
11 changes: 11 additions & 0 deletions
11
source/JSONWebToken-Core.package/JWEHeader.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "JWCryptoHeader", | ||
"category" : "JSONWebToken-Core-JSONWebToken-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "JWEHeader", | ||
"type" : "normal" | ||
} |
Empty file.
7 changes: 7 additions & 0 deletions
7
source/JSONWebToken-Core.package/JWSCompactSerializer.class/instance/materialize..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
reading | ||
materialize: aString | ||
| parts jws | | ||
parts := $. split: aString. | ||
jws := JWSHeader fromJson: (parts at: 1) base64Decoded. | ||
self halt. | ||
|
11 changes: 11 additions & 0 deletions
11
source/JSONWebToken-Core.package/JWSCompactSerializer.class/instance/materialize.key..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
reading | ||
materialize: aString key: aKeyString | ||
| parts header jws | | ||
parts := $. split: aString. | ||
header := JWSHeader fromJson: (parts at: 1) base64Decoded. | ||
jws := JsonWebSignature new | ||
key: aKeyString; | ||
setProtectedHeader: header. | ||
((jws signatureFor: ($. join: { parts first . parts second })) = parts third base64Decoded asByteArray) ifFalse: [ | ||
Error signal: 'signature does not match' ]. | ||
^ jws payload: (JWTClaimsSet fromJson: parts second base64Decoded) |
12 changes: 12 additions & 0 deletions
12
source/JSONWebToken-Core.package/JWSCompactSerializer.class/instance/serialize..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
as yet unclassified | ||
serialize: aWebSignature | ||
| signature | | ||
aWebSignature writeProtectedHeaderOn: self. | ||
stream nextPut: $. . | ||
aWebSignature writePayloadOn: self. | ||
|
||
signature := aWebSignature signatureFor: stream contents. | ||
stream | ||
nextPut: $.; | ||
nextPutAll: signature base64Encoded. | ||
^ stream contents |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWSCompactSerializer.class/instance/writeHeader..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
as yet unclassified | ||
writeHeader: aHeader | ||
stream nextPutAll: aHeader asJson base64Encoded |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWSCompactSerializer.class/instance/writePayload..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
writing | ||
writePayload: anObject | ||
stream nextPutAll: anObject asJson base64Encoded |
11 changes: 11 additions & 0 deletions
11
source/JSONWebToken-Core.package/JWSCompactSerializer.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "JWSSerializer", | ||
"category" : "JSONWebToken-Core-JSONWebToken-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "JWSCompactSerializer", | ||
"type" : "normal" | ||
} |
Empty file.
4 changes: 4 additions & 0 deletions
4
source/JSONWebToken-Core.package/JWSHeader.class/class/fromJson..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
instance-creation | ||
fromJson: aString | ||
^ self new | ||
setProperties: (NeoJSONReader fromString: aString) |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWSHeader.class/instance/isEqualTo..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
testing | ||
isEqualTo: aHeader | ||
^ aHeader hasSameElements: properties |
11 changes: 11 additions & 0 deletions
11
source/JSONWebToken-Core.package/JWSHeader.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "JWCryptoHeader", | ||
"category" : "JSONWebToken-Core-JSONWebToken-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "JWSHeader", | ||
"type" : "normal" | ||
} |
Empty file.
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWSSerializer.class/class/toJson..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
as yet unclassified | ||
toJson: anObject | ||
^ NeoJSONWriter toString: anObject |
4 changes: 4 additions & 0 deletions
4
source/JSONWebToken-Core.package/JWSSerializer.class/instance/initialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
as yet unclassified | ||
initialize | ||
super initialize. | ||
stream := String new writeStream. |
13 changes: 13 additions & 0 deletions
13
source/JSONWebToken-Core.package/JWSSerializer.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "Object", | ||
"category" : "JSONWebToken-Core-JSONWebToken-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ | ||
"stream" | ||
], | ||
"name" : "JWSSerializer", | ||
"type" : "normal" | ||
} |
Empty file.
4 changes: 4 additions & 0 deletions
4
source/JSONWebToken-Core.package/JWTClaimsSet.class/class/fromJson..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
as yet unclassified | ||
fromJson: aString | ||
^ self new | ||
setClaims: (NeoJSONReader fromString: aString) |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWTClaimsSet.class/instance/asJson.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
converting | ||
asJson | ||
^ NeoJSONWriter toString: claims |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWTClaimsSet.class/instance/at..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
at: aString | ||
^ claims at: aString |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWTClaimsSet.class/instance/at.put..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
at: aString put: anObject | ||
claims at: aString put: anObject |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWTClaimsSet.class/instance/aud..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
aud: aString | ||
self at: 'aud' put: aString |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWTClaimsSet.class/instance/aud.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
aud | ||
^ self at: 'aud' |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWTClaimsSet.class/instance/audiences..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
audiences: anObject | ||
self aud: anObject |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWTClaimsSet.class/instance/audiences.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
audiences | ||
^ self aud |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWTClaimsSet.class/instance/authTime..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
authTime: anObject | ||
self at: 'auth_time' put: anObject |
3 changes: 3 additions & 0 deletions
3
source/JSONWebToken-Core.package/JWTClaimsSet.class/instance/authTime.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
authTime | ||
^ self at: 'auth_time' |
3 changes: 3 additions & 0 deletions
3
...WebToken-Core.package/JWTClaimsSet.class/instance/authenticationContextClassReference..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
authenticationContextClassReference: anObject | ||
self at: 'acr' put: anObject |
Oops, something went wrong.