Share via


SkillValidation Class

Definition

Caution

Use ConfigurationBotFrameworkAuthentication instead to perform skill validation.

Validates JWT tokens sent to and from a Skill.

[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to perform skill validation.", false)]
public class SkillValidation
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to perform skill validation.", false)>]
type SkillValidation = class
Public Class SkillValidation
Inheritance
SkillValidation
Attributes

Constructors

SkillValidation()

Methods

AuthenticateChannelToken(String, ICredentialProvider, IChannelProvider, HttpClient, String, AuthenticationConfiguration)

Validates that the incoming Auth Header is a token sent from a bot to a skill or from a skill to a bot.

CreateAnonymousSkillClaim()

Creates a ClaimsIdentity for an anonymous (unauthenticated) skill.

IsSkillClaim(IEnumerable<Claim>)

Checks if the given list of claims represents a skill.

IsSkillToken(String)

Determines if a given Auth header is from from a skill to bot or bot to skill request.

Applies to