JsonWebToken Class
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 | |
---|---|---|
Actor | ||
Algorithm | ||
Audience | ||
CertificateThumbprint | ||
CredentialType | (Inherited from IssuedToken.) | |
EncodedToken | ||
IdentityProvider | ||
IsAuthenticated | (Inherited from IssuedToken.) | |
Issuer | ||
NameIdentifier | ||
TokenType | ||
TrustedForDelegation | ||
ValidFrom | ||
ValidTo |
Top
Methods
Name | Description | |
---|---|---|
Create(String) | ||
Create(String, String, DateTime, DateTime, SigningCredentials) | ||
Create(String, String, DateTime, DateTime, IEnumerable<Claim>, JsonWebToken) | ||
Create(String, String, DateTime, DateTime, IEnumerable<Claim>, SigningCredentials) | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | (Overrides Object.ToString().) |
Top
Extension Methods
Name | Description | |
---|---|---|
IsExpired | (Defined by JsonWebTokenUtilities.) | |
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.