@terra-js/terra-kit
Version:
SDK for mobile bridge to offer unified method signatures for Android/iOS.
25 lines (24 loc) • 509 B
TypeScript
export interface AuthToken {
id: number;
accessToken: string;
expiresIn: number;
refreshToken: string;
scope: string;
tokenType: string;
}
export interface User {
sub: string;
name: string;
picture?: string;
updatedAt?: string;
email?: string;
phoneNumber?: string;
birthday?: string;
address?: string;
roles?: string[];
permissions?: string[];
metadata?: Record<string, string>;
}
export interface LoginResult {
terraIdToken: string;
}