< Summary - Kestrun — Combined Coverage

Information
Class: Public.JWT.New-KrJWTTokenBuilder
Assembly: Kestrun.PowerShell.Public
File(s): /home/runner/work/Kestrun/Kestrun/src/PowerShell/Kestrun/Public/JWT/New-KrJWTTokenBuilder.ps1
Tag: Kestrun/Kestrun@2d87023b37eb91155071c91dd3d6a2eeb3004705
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 24
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 08/26/2025 - 01:25:22 Line coverage: 100% (1/1) Total lines: 23 Tag: Kestrun/Kestrun@07f821172e5dc3657f1be7e6818f18d6721cf38a09/04/2025 - 18:11:31 Line coverage: 100% (1/1) Total lines: 24 Tag: Kestrun/Kestrun@de99e24698289f3f61ac7b73e96092732ae12b0510/13/2025 - 16:52:37 Line coverage: 0% (0/1) Total lines: 24 Tag: Kestrun/Kestrun@10d476bee71c71ad215bb8ab59f219887b5b4a5e

Metrics

File(s)

/home/runner/work/Kestrun/Kestrun/src/PowerShell/Kestrun/Public/JWT/New-KrJWTTokenBuilder.ps1

#LineLine coverage
 1<#
 2    .SYNOPSIS
 3        Creates a new JWT token builder instance.
 4    .DESCRIPTION
 5        This function initializes a new instance of the JwtTokenBuilder class, which is used to construct JWT tokens.
 6    .EXAMPLE
 7        # Creates a new JWT token builder instance
 8        $builder = New-KrJWTBuilder
 9    .OUTPUTS
 10        [Kestrun.Jwt.JwtTokenBuilder]
 11        A new instance of the JwtTokenBuilder class.
 12    .NOTES
 13        This function is part of the Kestrun.Jwt module and is used to build JWT tokens.
 14        Maps to JwtTokenBuilder.New
 15#>
 16function New-KrJWTBuilder {
 17    [KestrunRuntimeApi('Everywhere')]
 18    [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseShouldProcessForStateChangingFunctions', '')]
 19    [OutputType([Kestrun.Jwt.JwtTokenBuilder])]
 20    param()
 21    # Create a new JWT token builder instance
 022    return [Kestrun.Jwt.JwtTokenBuilder]::New()
 23}
 24

Methods/Properties

New-KrJWTBuilder()