/** * Saves the end user credentials into the given file path. * * @param filePath Path to file where to store the credentials * * @throws IOException An error storing the credentials. */ public void save(String filePath) throws IOException { OAuth2Utils.writeInputStreamToFile(getUserCredentialsStream(), filePath); }
/** * Saves the end user credentials into the given file path. * * @param filePath Path to file where to store the credentials * * @throws IOException An error storing the credentials. */ public void save(String filePath) throws IOException { OAuth2Utils.writeInputStreamToFile(getUserCredentialsStream(), filePath); }