isopruefi-frontend / api/api-client / JwtToken
Class: JwtToken¶
Defined in: api/api-client.ts:1130
Represents a JWT token and its associated refresh token and metadata.
Implements¶
Constructors¶
Constructor¶
new JwtToken(
data?):JwtToken
Defined in: api/api-client.ts:1147
Parameters¶
data?¶
Returns¶
JwtToken
Properties¶
createdDate?¶
optionalcreatedDate:Date
Defined in: api/api-client.ts:1142
Gets or sets the creation date and time of the JWT token.
Implementation of¶
expiryDate?¶
optionalexpiryDate:Date
Defined in: api/api-client.ts:1139
Gets or sets the expiry date and time of the JWT token.
Implementation of¶
refreshToken?¶
optionalrefreshToken:string
Defined in: api/api-client.ts:1136
Gets or sets the refresh token string.
Implementation of¶
roles?¶
optionalroles:string[]
Defined in: api/api-client.ts:1145
Gets or sets the user roles associated with the JWT token.
Implementation of¶
token?¶
optionaltoken:string
Defined in: api/api-client.ts:1133
Gets or sets the JWT access token string.
Implementation of¶
Methods¶
init()¶
init(
_data?):void
Defined in: api/api-client.ts:1156
Parameters¶
_data?¶
any
Returns¶
void
toJSON()¶
toJSON(
data?):any
Defined in: api/api-client.ts:1177
Parameters¶
data?¶
any
Returns¶
any
fromJS()¶
staticfromJS(data):JwtToken
Defined in: api/api-client.ts:1170
Parameters¶
data¶
any
Returns¶
JwtToken