-getClient(program.url)
- .then(res => {
- const server = {
- url: program['url'],
- user: {
- username: program['username'],
- password: program['password']
- } as User,
- client: {
- id: res.body.client_id as string,
- secret: res.body.client_secret as string
- } as Client
- } as Server