/* ownCloud Android client application
 *   Copyright (C) 2015 ownCloud Inc.
 *
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License version 2,
 *   as published by the Free Software Foundation.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

package com.owncloud.android.lib.common;

public interface OwnCloudCredentials {

	public void applyTo(OwnCloudClient ownCloudClient);

	public String getUsername();
	
	public String getAuthToken();
	
	public boolean authTokenExpires();
	
}

@@ -17,26 +17,46 @@
 oid 
-client application
+Library is available under MIT license
 %0A * 
@@ -102,196 +102,465 @@
 *   
-This program is
+Permission is hereby granted,
  free 
-s
 of
-tware: you can redistribute it and/or modify%0A *   it under the terms of the GNU General Public License version 2,%0A *   as published by the Free Software Founda
+ charge, to any person obtaining a copy%0A *   of this software and associated documentation files (the %22Software%22), to deal%0A *   in the Software without restriction, including without limitation the rights%0A *   to use, copy, modify, merge, publish, distribute, sublicense, and/or sell%0A *   copies of the Software, and to permit persons to whom the Software is%0A *   furnished to do so, subject to the following condi
 tion
-.
+s:
 %0A *%0A
@@ -570,78 +570,179 @@
   Th
-is program is distributed in the hope that it will be useful,%0A *   but
+e above copyright notice and this permission notice shall be included in%0A *   all copies or substantial portions of the Software.%0A *%0A *   THE SOFTWARE IS PROVIDED %22AS IS%22,
  WIT
@@ -750,58 +750,101 @@
 OUT 
+WARR
 AN
+T
 Y 
-WARRANTY; without even the implied warranty of
+OF ANY KIND,%0A *   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 %0A * 
@@ -860,19 +860,17 @@
 TABILITY
- or
+,
  FITNESS
@@ -898,216 +898,312 @@
 POSE
-.  See the%0A *   GNU General Public License for more details.%0A *%0A *   You should have received a copy of the GNU General Public License%0A *   along with this program.  If not, see %3Chttp://www.gnu.org/licenses/%3E
+ AND%0A *   NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS%0A *   BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN%0A *   ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN%0A *   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN%0A *   THE SOFTWARE
 .%0A *

Update license