EndorsementsValidator Class

Definition

Contains helper methods for verifying JWT endorsements.

public static class EndorsementsValidator
type EndorsementsValidator = class
Public Class EndorsementsValidator
Inheritance
EndorsementsValidator

Methods

Validate(String, HashSet<String>)

Verify that the specified endorsement exists on the JWT token. Call this method multiple times to validate multiple endorsements. For example, if an Activity comes from WebChat, that activity's ChannelId property is set to "webchat" and the signing party of the JWT token must have a corresponding endorsement of “Webchat”.

Applies to