Bca.Jwt

0.0.2

Module to manage JWT tokens.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Bca.Jwt -RequiredVersion 0.0.2

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Bca.Jwt -Version 0.0.2

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

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

Version History

Version Downloads Last updated
0.1.0 288 9/18/2020
0.0.2 (current version) 19 7/14/2020
0.0.1 14 7/13/2020