Esempio n. 1
0
        public static async Task <string> GetTicketAsync()
        {
            var credentials = new Credentials();

            credentials.UserName = ConfigurationManager.GetValue(Resources.LoginEmailAddressKey);
            credentials.SetEncryptedPassword(ConfigurationManager.GetValue(Resources.LoginPasswordKey));

            return(await DokuFlexService.LoginAsync(credentials));
        }
Esempio n. 2
0
 public async Task <string> CreateFolderAsync(string ticket, string groupId, string parentNodeId, string folderName)
 {
     return(await DokuFlexService.CreateFolderAsync(ticket, groupId, parentNodeId, folderName));
 }
Esempio n. 3
0
 public async Task <List <FileFolder> > GetFoldersAsync(string ticket, string groupId, string parentFolderId)
 {
     return(await DokuFlexService.GetFoldersAsync(ticket, groupId, parentFolderId));
 }
Esempio n. 4
0
 public List <UserGroup> GetUserGroups(string ticket)
 {
     return(DokuFlexService.GetUserGroups(ticket));
 }
Esempio n. 5
0
 public string Login()
 {
     return(DokuFlexService.Login(_credentials));
 }
Esempio n. 6
0
 public async Task <string> LoginAsync()
 {
     return(await DokuFlexService.LoginAsync(_credentials));
 }