InvalidTokenAudienceException Class

Definition

Contains the exception thrown when the URL passed to the Validate method of the AppIdentityToken object does not match the audience parameter specified in the client identity token. The InvalidTokenAudienceException class is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public ref class InvalidTokenAudienceException : Microsoft::Exchange::WebServices::Auth::Validation::TokenValidationException
public class InvalidTokenAudienceException : Microsoft.Exchange.WebServices.Auth.Validation.TokenValidationException
Public Class InvalidTokenAudienceException
Inherits TokenValidationException
Inheritance
InvalidTokenAudienceException

Constructors

InvalidTokenAudienceException(String)

Initializes a new instance of the InvalidTokenAudienceException class with the specified message that describes the error. The InvalidTokenAudienceException(String) constructor is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Applies to