Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Inheritance Hierarchy
System.Object
  Microsoft.VisualStudio.Services.Common.IssuedToken
    Microsoft.VisualStudio.Services.WebApi.Jwt.JsonWebToken
Namespace:  Microsoft.VisualStudio.Services.WebApi.Jwt
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
<DataContractAttribute> _
Public NotInheritable Class JsonWebToken _
    Inherits IssuedToken
[DataContractAttribute]
public sealed class JsonWebToken : IssuedToken
[DataContractAttribute]
public ref class JsonWebToken sealed : public IssuedToken
[<Sealed>]
[<DataContractAttribute>]
type JsonWebToken =  
    class 
        inherit IssuedToken 
    end
public final class JsonWebToken extends IssuedToken
The JsonWebToken type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Actor | |
| .gif) | Algorithm | |
| .gif) | Audience | |
| .gif) | CertificateThumbprint | |
| .gif) | CredentialType | (Inherited from IssuedToken.) | 
| .gif) | EncodedToken | |
| .gif) | IdentityProvider | |
| .gif) | IsAuthenticated | (Inherited from IssuedToken.) | 
| .gif) | Issuer | |
| .gif) | NameIdentifier | |
| .gif) | TokenType | |
| .gif) | TrustedForDelegation | |
| .gif) | ValidFrom | |
| .gif) | ValidTo | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) .gif) | Create(String) | |
| .gif) .gif) | Create(String, String, DateTime, DateTime, SigningCredentials) | |
| .gif) .gif) | Create(String, String, DateTime, DateTime, IEnumerable<Claim>, JsonWebToken) | |
| .gif) .gif) | Create(String, String, DateTime, DateTime, IEnumerable<Claim>, SigningCredentials) | |
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | ToString | (Overrides Object.ToString().) | 
Top
Extension Methods
| Name | Description | |
|---|---|---|
| .gif) | IsExpired | (Defined by JsonWebTokenUtilities.) | 
| .gif) | ValidateToken | (Defined by JsonWebTokenUtilities.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.