< Summary - Kestrun — Combined Coverage

Information
Class: Public.JWT.Get-KrJWTInfo
Assembly: Kestrun.PowerShell.Public
File(s): /home/runner/work/Kestrun/Kestrun/src/PowerShell/Kestrun/Public/JWT/Get-KrJWTInfo.ps1
Tag: Kestrun/Kestrun@ca54e35c77799b76774b3805b6f075cdbc0c5fbe
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 32
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100 09/08/2025 - 20:34:03 Line coverage: 0% (0/1) Total lines: 32 Tag: Kestrun/Kestrun@3790ee5884494a7a2a829344a47743e0bf492e72

Metrics

File(s)

/home/runner/work/Kestrun/Kestrun/src/PowerShell/Kestrun/Public/JWT/Get-KrJWTInfo.ps1

#LineLine coverage
 1<#
 2    .SYNOPSIS
 3        Retrieves information from a JWT token.
 4    .DESCRIPTION
 5        This function extracts various parameters from a JWT token, such as issuer, audience, expiration, and claims.
 6    .PARAMETER Token
 7        The JWT token to inspect.
 8    .OUTPUTS
 9        [Kestrun.Jwt.JwtParameters]
 10        An object containing the extracted parameters from the JWT token.
 11    .EXAMPLE
 12        $jwtInfo = Get-KrJWTInfo -Token $token
 13        This example retrieves the information from the specified JWT token.
 14    .NOTES
 15        This function is part of the Kestrun.Jwt module and is used to inspect JWT tokens.
 16        Maps to JwtInspector.ReadAllParameters
 17    .LINK
 18        https://docs.microsoft.com/en-us/dotnet/api/system.identitymodel.tokens.jwt.jwtsecuritytoken
 19#>
 20function Get-KrJWTInfo {
 21    [KestrunRuntimeApi('Everywhere')]
 22    [CmdletBinding()]
 23    [OutputType([Kestrun.Jwt.JwtParameters])]
 24    param(
 25        [Parameter(Mandatory)]
 26        [string] $Token
 27    )
 28    process {
 029        return [Kestrun.Jwt.JwtInspector]::ReadAllParameters($Token)
 30    }
 31}
 32

Methods/Properties

Get-KrJWTInfo()