Microsoft.Exchange.WebServices.Auth.Validation namespace

EWS Managed API

The Microsoft.Exchange.WebServices.Auth.Validation namespace contains types and methods to enable your service application to validate tokens provided by the getUserIdentityTokenAsync function from the apps for Office JavaScript API.

The types and methods in this namespace can be used in a web service to authenticate a mail app by using Exchange identity tokens.

  Class Description
Public class AppIdentityToken Defines the properties and methods necessary for service applications to read and validate the application identity token. The AppIdentityToken class is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
Public class AuthToken Defines the base class for authentication tokens.The AuthToken class is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
Public class InvalidTokenAudienceException 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 class InvalidTokenFormatException Contains the exception that is thrown when a client identity token is in an unexpected format. The InvalidTokenFormatException class is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
Public class InvalidTokenSignatureException Contains the exception that is thrown when a client identity token cannot be processed. The InvalidTokenSignatureException class is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
Public class InvalidTokenVersionException Contains the exception that is thrown when the version of a client identity token does not match the expected version. The InvalidTokenVersionException class is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
Public class MetadataAccessException Contains the exception that is thrown when the authentication metadata document for a client identity token cannot be accessed.The MetadataAccessException class is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
Public class PublicKeyInfo Contains the name and value of a public encryption key.The PublicKeyInfo class is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
Public class TokenExpiredException Contains the exception that is thrown when a client identity token has expired.The TokenExpiredException class is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
Public class TokenRequiresValidationException Contains the exception that is thrown when the fields of an AppIdentityToken instance are accessed before the Validate method is called.The TokenRequiresValidationException class is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
Public class TokenValidationException Defines the base class for all client identity token validation exceptions.The TokenValidationException class is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

  Interface Description
Public interface IMetaDocumentRetriever Defines the interface for retrieving authentication metadata documents from a server. The IMetaDocumentRetriever interface is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
Show:
© 2014 Microsoft