File

src/lib/utils/types.ts

Description

Result of tokens response

Properties

accessToken
accessToken: string
Type : string

access token value

valid
valid: boolean
Type : boolean

is token response returns sucessfully

export interface Tokens {
  /** is token response returns sucessfully */
  valid: boolean;
  /** access token value */
  accessToken?: string;
}

/** @ignore */
export interface AuthResponseError {
  field: string;
  message: string;
}

/**
 * Cryptr User simplest representation
 */
export interface User {
  /** email of end user */
  email: string;
}

results matching ""

    No results matching ""