Function makeLoginResponse
make Login Response( overrides: Partial < { controller-tag: string ; facades: { name: string ; versions: number [] ; } [] ; model-tag: string ; server-version: string ; user-info: { controller-access: string ; credentials: string ; display-name: string ; identity: string ; last-connection: string ; model-access: string ; } ; } > ) : { response: { controller-tag: string ; facades: { name: string ; versions: number [] ; } [] ; model-tag: string ; server-version: string ; user-info: { controller-access: string ; credentials: string ; display-name: string ; identity: string ; last-connection: string ; model-access: string ; } ; } & Partial < { controller-tag: string ; facades: { name: string ; versions: number [] ; } [] ; model-tag: string ; server-version: string ; user-info: { controller-access: string ; credentials: string ; display-name: string ; identity: string ; last-connection: string ; model-access: string ; } ; } > ; }
Parameters
overrides: Partial < { controller-tag: string ; facades: { name: string ; versions: number [] ; } [] ; model-tag: string ; server-version: string ; user-info: { controller-access: string ; credentials: string ; display-name: string ; identity: string ; last-connection: string ; model-access: string ; } ; } >
Returns { response: { controller-tag: string ; facades: { name: string ; versions: number [] ; } [] ; model-tag: string ; server-version: string ; user-info: { controller-access: string ; credentials: string ; display-name: string ; identity: string ; last-connection: string ; model-access: string ; } ; } & Partial < { controller-tag: string ; facades: { name: string ; versions: number [] ; } [] ; model-tag: string ; server-version: string ; user-info: { controller-access: string ; credentials: string ; display-name: string ; identity: string ; last-connection: string ; model-access: string ; } ; } > ; }
response: { controller-tag: string ; facades: { name: string ; versions: number [] ; } [] ; model-tag: string ; server-version: string ; user-info: { controller-access: string ; credentials: string ; display-name: string ; identity: string ; last-connection: string ; model-access: string ; } ; } & Partial < { controller-tag: string ; facades: { name: string ; versions: number [] ; } [] ; model-tag: string ; server-version: string ; user-info: { controller-access: string ; credentials: string ; display-name: string ; identity: string ; last-connection: string ; model-access: string ; } ; } >
Defined in api/tests/helpers.ts:91
Generate a login response mixing in the supplied overrides to the default login response.
Returns
The merged login response.