export interface DecodedToken { /** * the ordercloud username */ usr: string; /** * the issuer of the token - should always be https://auth.ordercloud.io */ iss: string; /** * the audience - who should be consuming this token * this should always be https://api.ordercloud.io (the ordercloud api) */ aud: string; /** * expiration of the token (in seconds) since the * UNIX epoch (January 1, 1970 00:00:00 UTC) */ exp: number; /** * point at which token was issued (in seconds) since the * UNIX epoch (January 1, 1970 00:00:00 UTC) */ nbf: number; }