AuthToken.Parse(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parses a string-formatted identification token into the individual claims present in the token. The Parse(String) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
public:
static Microsoft::Exchange::WebServices::Auth::Validation::AuthToken ^ Parse(System::String ^ token);
public static Microsoft.Exchange.WebServices.Auth.Validation.AuthToken Parse (string token);
Public Shared Function Parse (token As String) As AuthToken
Parameters
- token
- String
The string-formatted token.
Returns
The parsed authorization token.
Remarks
The string passed to the Parse(String) method should be formatted as required by the descendent class of the AuthToken class. For example, the Parse(String) method on the AppIdentityToken class requires a base-64 encoded token as defined in the JSON Web Token (JWT) Internet Draft