UNPKG

@smash-sdk/iam

Version:
29 lines (28 loc) 1.05 kB
export interface CreateUserTokenInput { userId: string; scope?: "None" | "IP"; ip?: string; tokenDuration?: string; refreshTokenDuration?: string; } export interface CreateUserTokenOutput { user: { id: string; region: "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "ap-south-1" | "ap-northeast-3" | "ap-northeast-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ca-central-1" | "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-north-1" | "sa-east-1" | "af-south-1" | "ap-east-1" | "ap-south-2" | "ap-southeast-3" | "eu-south-1" | "eu-south-2" | "eu-central-2" | "me-south-1" | "me-central-1"; created: string; modified: string; username: string; language: string; token: { type: string; token: string; issuedAt: string; expiration: string; }; refreshToken: { token: string; issuedAt: string; expiration: string; }; }; }