Comments (1)
Hello @viniciussanchez
I don't like adding a dependency to TJWT knowing signing algorithms, but now I introduced new interfaces to simplify the token creation:
var
LResult: string;
begin
LResult := TJOSEProcess.New
.SetIssuer('Delphi JOSE Library')
.SetIssuedAt(Now)
.SetExpiration(Now + 1)
.SetAlgorithm(LAlg)
.SetKey(TJOSEAlgorithmId.HS256)
.Build
.GetCompactToken
;
memoCompact.Lines.Add(LResult);
end;
I hope that this new commit solve the issue.
Paolo.
from delphi-jose-jwt.
Related Issues (20)
- Memory leak on BCrypt.Core.pas HOT 1
- Erro JWS HOT 5
- Hint: H2077 Value assigned to 'TSigningBase.LoadPublicKeyFromCert' never used HOT 1
- JOSE.OpenSSL.Headers is not compatible with platforms like iOSDevice or Android. HOT 5
- TJWK class claims to implement RFC7517 (partially) but it really doesn't implement it at all HOT 2
- function TRSAAlgorithmHelper.ToString: string; potentially unset return value
- Delphi-Jose-JWT on XE7 HOT 1
- Publish this onto the GetIt Package Manager please ππ» HOT 4
- Make TJWS.CheckCompactToken more strict HOT 1
- When will JWE be available? HOT 11
- Azure AD JWT token authorization HOT 6
- iOS can not compile JOSE.OpenSSL.Headers HOT 1
- unreliable Check fΓΌr Booleans in JSON HOT 3
- Jose.Inc
- json.pas file is missing HOT 3
- Delphi xe5 not working with this source code. HOT 1
- Wrong version in "boss.json"
- TJSONUtils.SetJSONRttiValue Array Support HOT 1
- Add Custom Validators to TJOSEConsumer/TJOSEConsumerBuilder HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from delphi-jose-jwt.