Développement

Astuces de développement

Outils pour utilisateurs

Outils du site


langages:asp_csharp:token_jwt

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
langages:asp_csharp:token_jwt [2019/08/23 13:26]
jonathan créée
langages:asp_csharp:token_jwt [2019/08/27 07:47] (Version actuelle)
jonathan
Ligne 1: Ligne 1:
 ====== Token JWT et certificats ====== ====== Token JWT et certificats ======
  
-https://garywoodfine.com/asp-net-core-2-2-jwt-authentication-tutorial/+===== Sources =====
  
-https://stackoverflow.com/questions/38794670/how-to-create-encrypted-jwt-in-c-sharp-using-rs256-with-rsa-private-key+  * https://garywoodfine.com/asp-net-core-2-2-jwt-authentication-tutorial/ 
 +  * https://stackoverflow.com/questions/38794670/how-to-create-encrypted-jwt-in-c-sharp-using-rs256-with-rsa-private-key 
 +  * https://dejanstojanovic.net/aspnet/2018/june/token-based-authentication-in-aspnet-core-part-3/ 
 +  * https://stackoverflow.com/questions/36152633/validating-access-token-with-at-hash
  
-https://github.com/dvsekhvalnov/jose-jwt +  * https://github.com/dvsekhvalnov/jose-jwt 
-http://www.bouncycastle.org/csharp/+  http://www.bouncycastle.org/csharp/
  
-https://jwt.io/+  * https://jwt.io/ 
 +  * https://connect2id.com/learn/token-binding 
 + 
 +  * https://github.com/manfredsteyer/angular-oauth2-oidc 
 + 
 +  * https://vosseburchttechblog.azurewebsites.net/index.php/2015/09/19/generating-and-consuming-json-web-tokens-with-net/ 
 +  * https://www.youtube.com/watch?v=EJeZ3YNnqz8 
 +  * https://github.com/IdentityServer/IdentityServer4/issues/1786 
 + 
 +===== Generating RSA private/public key pair ===== 
 +<code> 
 +openssl genrsa -out private.pem 2048    
 +openssl rsa -in private.pem -outform PEM -pubout -out public.pem   
 +</code> 
 + 
 +===== Public keys : PEM to JWK ===== 
 + 
 +https://github.com/dannycoates/pem-jwk 
 + 
 +<code> 
 +pem-jwk public.pem > public.jwk 
 +</code>
  
-https://github.com/manfredsteyer/angular-oauth2-oidc 
langages/asp_csharp/token_jwt.1566559615.txt.gz · Dernière modification: 2019/08/23 13:26 de jonathan