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)); }
public async Task <string> LoginAsync() { return(await DokuFlexService.LoginAsync(_credentials)); }