github.com/argoproj/argo-cd@v1.8.7/ui/src/app/shared/services/auth-service.ts (about) 1 import {AuthSettings} from '../models'; 2 import requests from './requests'; 3 4 export class AuthService { 5 public settings(): Promise<AuthSettings> { 6 return requests.get('/settings').then(res => res.body as AuthSettings); 7 } 8 }