This topic has not yet been rated - Rate this topic

InvalidTokenAudienceException class

EWS Managed API

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.

System.Object
  System.Exception
    Microsoft.Exchange.WebServices.Auth.Validation.TokenValidationException
      Microsoft.Exchange.WebServices.Auth.Validation.InvalidTokenAudienceException

Namespace:  Microsoft.Exchange.WebServices.Auth.Validation
Assembly:  Microsoft.Exchange.WebServices.Auth (in Microsoft.Exchange.WebServices.Auth.dll)
public class InvalidTokenAudienceException : TokenValidationException
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.