Bca.Jwt
0.0.2
Module to manage JWT tokens.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2020 Bca. All rights reserved.
Package Details
Author(s)
- Baptiste Cabrera
Tags
jwt jsonwebtoken token jwttoken
Functions
ConvertFrom-JwtToken ConvertTo-JwtToken New-JwtToken Test-JwtToken
Dependencies
This module has no dependencies.
Release Notes
0.0.2:
- New-JwToken: Added parameter Certificate to sign token with a certificate when using RSA algorithms, the certificate nust contain the private key.
- New-JwToken: Added new common optional parameters (such as Type, KeyId and Subject).
- New-JwToken: Expiration parameter can now either be a number of seconds for which the token is valid, or the UNIX date until which the token will be valid.
- New-JwToken: Fixed empty optional parameters, if optional parameters are not provided, they will be omitted instead of being empty.
- Added new tests.
0.0.1:
- First Version
- New-JwtToken: Function to create a JWT token (support HS256, HS384, HS512, RS256, RS384, RS512 so far).
- ConvertFrom-JwtToken: Function to convert a raw JWT token to an object.
- ConvertTo-JwtToken: Function to convert a token object to raw JWT token.
- Test-JwtToken: Function to test is a jwt token is structuraly valid.
FileList
- Bca.Jwt.nuspec
- Bca.Jwt.psd1
- Bca.Jwt.psm1
- Bca.Jwt.Tests.ps1
- LocalizedData\en\Bca.Jwt.psd1
- LocalizedData\en\Bca.Jwt.Tests.psd1
- LocalizedData\fr\Bca.Jwt.psd1
- LocalizedData\fr\Bca.Jwt.Tests.psd1
- Private\Get-JwtTokenPart.ps1
- Private\Get-JwtTokenPayloadDateField.ps1
- Private\_Variables.ps1
- Public\ConvertFrom-JwtToken.ps1
- Public\ConvertTo-JwtToken.ps1
- Public\New-JwtToken.ps1
- Public\Test-JwtToken.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
0.1.0 | 336 | 9/18/2020 |
0.0.2 (current version) | 22 | 7/14/2020 |
0.0.1 | 17 | 7/13/2020 |