/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { JwtVerifiedCredentialHashes } from './JwtVerifiedCredentialHashes'; /** * This contains standard JWT claims to identify a session for the Dynamic user. For more details, see: https://www.iana.org/assignments/jwt/jwt.xhtml#claims * @export * @interface MinifiedDynamicJwt */ export interface MinifiedDynamicJwt { /** * Project environment jwt public key id, used to verify the jwt using the the jwks endpoint * @type {string} * @memberof MinifiedDynamicJwt */ kid: string; /** * Audience: this will be the origin header, pertaining to the client site * @type {string} * @memberof MinifiedDynamicJwt */ aud: string; /** * Issuer: current backend api host + environment id * @type {string} * @memberof MinifiedDynamicJwt */ iss: string; /** * Dynamic user ID * @type {string} * @memberof MinifiedDynamicJwt */ sub: string; /** * Dynamic session ID * @type {string} * @memberof MinifiedDynamicJwt */ sid: string; /** * Expiration timestamp * @type {number} * @memberof MinifiedDynamicJwt */ exp?: number; /** * Timestamp for when the JWT was issued at * @type {number} * @memberof MinifiedDynamicJwt */ iat?: number; /** * Dynamic environment ID * @type {string} * @memberof MinifiedDynamicJwt */ environmentId: string; /** * ID of the most recently used verified credential. This would refer to a value in the verified credentials list in the corresponding SdkUser * @type {string} * @memberof MinifiedDynamicJwt */ lastVerifiedCredentialId: string; /** * ID of the credential that was used to sign in and create this session. Unlike last_verified_credential_id, this value is immutable for the lifetime of the session and always refers to a sign-in capable credential. * @type {string} * @memberof MinifiedDynamicJwt */ signinCredentialId?: string; /** * Client session public key * @type {string} * @memberof MinifiedDynamicJwt */ sessionPublicKey?: string; /** * A whitespace-separate list of permissions associated with the JWT token issued. This conforms to the JWT standard for scope claims: https://datatracker.ietf.org/doc/html/rfc8693#section-4.2 * @type {string} * @memberof MinifiedDynamicJwt */ scope?: string; /** * * @type {JwtVerifiedCredentialHashes} * @memberof MinifiedDynamicJwt */ verifiedCredentialsHashes?: JwtVerifiedCredentialHashes; /** * Email address of the user * @type {string} * @memberof MinifiedDynamicJwt */ email?: string; /** * Username of the user * @type {string} * @memberof MinifiedDynamicJwt */ username?: string; /** * Whether this JWT was issued via server-side authentication * @type {boolean} * @memberof MinifiedDynamicJwt */ serverAuth?: boolean; /** * Hashed IP address * @type {string} * @memberof MinifiedDynamicJwt */ hashedIp?: string; /** * Original session ID * @type {string} * @memberof MinifiedDynamicJwt */ originalSid?: string; /** * Refresh expiration timestamp * @type {number} * @memberof MinifiedDynamicJwt */ refreshExp?: number; /** * SDK version used to create this JWT (e.g., WalletKit/1.2.3) * @type {string} * @memberof MinifiedDynamicJwt */ sdkVersion?: string; } export declare function MinifiedDynamicJwtFromJSON(json: any): MinifiedDynamicJwt; export declare function MinifiedDynamicJwtFromJSONTyped(json: any, ignoreDiscriminator: boolean): MinifiedDynamicJwt; export declare function MinifiedDynamicJwtToJSON(value?: MinifiedDynamicJwt | null): any;