Skip to content

Confirm MsIdJwtTokenSignature

Github Action edited this page Nov 30, 2023 · 6 revisions

Confirm-MsIdJwtTokenSignature

Reference

Module: MSIdentityTools

Synopsis

Validate the digital signature for JSON Web Token.

Syntax

Confirm-MsIdJwtTokenSignature [-Tokens] <string[]> [<CommonParameters>]

Examples

Example 1

Confirm-MsIdJwtTokenSignature $OpenIdConnectToken

Validate the OpenId token was signed by token issuer based on the OIDC Provider Configuration for token issuer.

Example 2

Confirm-MsIdJwtTokenSignature $AccessToken

Validate the access token was signed by token issuer based on the OIDC Provider Configuration for token issuer.

Parameters

-Tokens

JSON Web Token (JWT)
Type: String[]
Required: true
Default value: None
Accept pipeline input: true (ByValue)
Accept wildcard characters: false

Inputs

System.String

Outputs

System.Boolean
Clone this wiki locally