Table of Contents

Class AccessToken

Namespace
Zedal.Sdk.Jwt
Assembly
Zedal.Sdk.dll

Identifies an access_token for a given refresh_token. The access_token is short-lived and should be handled by the users interceptors or sdk only.

public class AccessToken : CustomerRelatedToken, ISerializable
Inheritance
AccessToken
Implements
Inherited Members

Constructors

AccessToken(string)

Initializes a new instance of the JwtWrapper class. Constructor. As wrapper Jwt is mandatory and cant be changed.

Methods

GetAppName()

The name of the app registered with the refreshToken.

GetFamilyId()

returns the family id of the refreshToken.

IsValid(int)

To check if the token is expired / expiring soon.