Exemple #1
0
        public async Task <List <RegisteredAppModel> > GetRegisteredAppsAsync()
        {
            var appList = await _authenticator.AuthRegisteredAppsAsync();

            return(appList.Select(app => new RegisteredAppModel(app.AppInfo, app.Containers)).ToList());
        }
Exemple #2
0
 public static async Task <List <RegisteredApp> > GetRegisteredAppsAsync(Authenticator auth)
 {
     return(await auth.AuthRegisteredAppsAsync());
 }