Skip to content

Commit

Permalink
Updated README installation instructions
Browse files Browse the repository at this point in the history
Fixed small typo in Demo
  • Loading branch information
paolo-rossi committed Mar 30, 2021
1 parent 00228da commit f73c041
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,14 @@ Delphi units used:
- Please use always the latest version [from GitHub](https://github.com/IndySockets/Indy)

## :floppy_disk: Installation
Simply add the source path "Source/Common" and Source/JOSE" to your Delphi project path or using the [`boss install`](https://github.com/HashLoad/boss) command and.. you are good to go!

### Manual installation
Simply add the source path "Source/Common" and Source/JOSE" to your Delphi project path and.. you are good to go!

### Boss package manager

Using the [`boss install`](https://github.com/HashLoad/boss) command:

``` sh
$ boss install github.com/paolo-rossi/delphi-jose-jwt
```
Expand Down
5 changes: 3 additions & 2 deletions Samples/Basic/JWTDemo.Form.Main.dfm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object frmMain: TfrmMain
Left = 504
Top = 272
Bitmap = {
494C010105000800100010001000FFFFFFFFFF00FFFFFFFFFFFFFFFF424D3600
494C010105000800140010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
0000000000003600000028000000400000002000000001002000000000000020
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
Expand Down Expand Up @@ -297,6 +297,7 @@ object frmMain: TfrmMain
C803807F8001C001C007000300008000C007000100000000C007000000000000
800100000000000000000000000000000001000000000000C003000000000000
C003000000000001C00300000000000180010000000000018003000000008003
F01F000100018003FC7FFFFFFFFFC2FF}
F01F000100018003FC7FFFFFFFFFC2FF00000000000000000000000000000000
000000000000}
end
end
10 changes: 5 additions & 5 deletions Samples/Basic/JWTDemo.Form.Main.pas
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ implementation

procedure TfrmMain.FormCreate(Sender: TObject);
begin
PasteForm(TfrmDebugger, 'tsDebugger', 'Debugger (http://jwt.io)', 0);
PasteForm(TfrmSimple, 'tsSimple', 'Build Simple Token', 1);
PasteForm(TfrmDebugger, 'tsDebugger', 'Debugger (jwt.io)', 0);
PasteForm(TfrmSimple, 'tsSimple', 'Build Simple Token', 1);
PasteForm(TfrmConsumer, 'tsConsumer', 'Consumer (Claim Validation)', 2);
PasteForm(TfrmClaims, 'tsClaims', 'Custom Claims', 3);
PasteForm(TfrmOpenSSL, 'tsOpenSSL', 'OpenSSL Stuff', 4);
//PasteForm(TfrmMisc, 'tsMisc', 'Miscellanea');
PasteForm(TfrmClaims, 'tsClaims', 'Custom Claims', 3);
PasteForm(TfrmOpenSSL, 'tsOpenSSL', 'OpenSSL Stuff', 4);
//PasteForm(TfrmMisc, 'tsMisc', 'Miscellanea');
pgcMain.ActivePageIndex := 0;
end;

Expand Down

0 comments on commit f73c041

Please sign in to comment.