Share via


AllowedCallersClaimsValidator Class

Definition

Claims validator that adds application level authorization based on a simple list of application Ids that are allowed to call.

public class AllowedCallersClaimsValidator : Microsoft.Bot.Connector.Authentication.ClaimsValidator
type AllowedCallersClaimsValidator = class
    inherit ClaimsValidator
Public Class AllowedCallersClaimsValidator
Inherits ClaimsValidator
Inheritance
AllowedCallersClaimsValidator

Constructors

AllowedCallersClaimsValidator(IList<String>)

Initializes a new instance of the AllowedCallersClaimsValidator class.

Methods

ValidateClaimsAsync(IList<Claim>)

Validate a list of claims and throw an exception if it fails.

Applies to