package com.podio.oauth;

import javax.ws.rs.core.MultivaluedMap;

public class OAuthUsernameCredentials implements OAuthUserCredentials {

	private final String username;

	private final String password;

	public OAuthUsernameCredentials(String username, String password) {
		super();
		this.username = username;
		this.password = password;
	}

	public String getType() {
		return "password";
	}

	public void addParameters(MultivaluedMap<String, String> map) {
		map.add("username", username);
		map.add("password", password);
	}

}

@@ -347,32 +347,148 @@
 assword;%0D%0A%09%7D%0D%0A%0D%0A
+%09public String getUsername() %7B%0D%0A%09%09return username;%0D%0A%09%7D%0D%0A%0D%0A%09public String getPassword() %7B%0D%0A%09%09return password;%0D%0A%09%7D%0D%0A%0D%0A
 %09public String g

Save username and password