Beispiel #1
0
 public static StreamReader GetCredsReader()
 {
     return(FileHelper.GetReader(FileHelper.GetAwsDirectory(), "credentials"));
 }
        private MultipleProfile getMultipleProfile()
        {
            var reader = FileHelper.GetReader(FileHelper.GetOktaDirectory(), "profiles");

            return(new MultipleProfile(reader));
        }
Beispiel #3
0
 /**
  * Gets a reader for the config file. If the file doesn't exist, it creates it
  *
  * @return A {@link Reader} for the config file
  * @throws IOException
  */
 public StreamReader GetConfigReader()
 {
     return(FileHelper.GetReader(FileHelper.GetAwsDirectory(), "config"));
 }