UNPKG

@digitalpersona/services

Version:
29 lines (17 loc) 1.32 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@digitalpersona/services](./services.md) &gt; [IAdminService](./services.iadminservice.md) &gt; [GetServerSettings](./services.iadminservice.getserversettings.md) ## IAdminService.GetServerSettings() method Queries a list of settings from DPCA Server. <b>Signature:</b> ```typescript GetServerSettings(ticket: Ticket, user: User, settings: string[]): Promise<Attribute[]>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | ticket | <code>Ticket</code> | a ticket with a JSON Web Token of the user who would like to query server settings. Some settings may be queried anonymously. | | user | <code>User</code> | a user whom settings will be queried. User name will direct to the particular DPCA Server where information about this user saved. This parameter is optional and can be set to null. If set to null, we direct call to DPCA Server where information about ticket owner is saved. If both user and ticket set to null, we direct call to DPCA Server where Altus Confirm is installed. | | settings | <code>string[]</code> | a list of settings to query. | <b>Returns:</b> `Promise<Attribute[]>` a promise to return a list of the settings requested