Get-KrJWTInfo

SYNOPSIS

Retrieves information from a JWT token.

SYNTAX

__AllParameterSets

Get-KrJWTInfo [-Token] <string> [<CommonParameters>]

ALIASES

This cmdlet has the following aliases, {{Insert list of aliases}}

DESCRIPTION

This function extracts various parameters from a JWT token, such as issuer, audience, expiration, and claims.

EXAMPLES

EXAMPLE 1

$jwtInfo = Get-KrJWTInfo -Token $token This example retrieves the information from the specified JWT token.

PARAMETERS

-Token

The JWT token to inspect.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

[Kestrun.Jwt.JwtParameters]

An object containing the extracted parameters from the JWT token.

{{ Fill in the Description }}

Kestrun.Jwt.JwtParameters

{{ Fill in the Description }}

NOTES

This function is part of the Kestrun.Jwt module and is used to inspect JWT tokens. Maps to JwtInspector.ReadAllParameters