UNPKG

@authress/sdk

Version:

Client SDK for Authress authorization as a service. Provides managed authorization api to secure service resources including user data.

80 lines (77 loc) 1.15 kB
import { IPaginated } from '../response'; /** * * @export * @interface Tenant */ export interface Tenant { /** * * @type {string} * @memberof Tenant */ tenantId: string; /** * * @type {string} * @memberof Tenant */ tenantLookupIdentifier?: string; /** * * @type {TenantData} * @memberof Tenant */ data?: TenantData; /** * * @type {TenantConnection} * @memberof Tenant */ connection?: TenantConnection; /** * * @type {string} * @memberof Tenant */ createdTime?: string; } /** * A collection of tenants. * @export * @interface TenantCollection */ export interface TenantCollection extends IPaginated<TenantCollection> { /** * * @type {Array<Tenant>} * @memberof TenantCollection */ connections?: Array<Tenant>; } /** * * @export * @interface TenantConnection */ export interface TenantConnection { /** * * @type {string} * @memberof TenantConnection */ connectionId?: string; } /** * * @export * @interface TenantData */ export interface TenantData { /** * * @type {string} * @memberof TenantData */ name?: string; }