/**
* This file is auto generated from JavaDoc. Do not modify it manually.
*/
import type { String } from "../../../java/lang/String";
import type { Object } from "../../../java/lang/Object";
import type { Credentials } from "../Credentials";
/**
* SimpleCredentials implements the Credentials
* interface and represents simple user ID/password credentials.
*/
export type SimpleCredentials = Object &
Credentials & {
/**
* Returns the user password.
*
* Note that this method returns a reference to the password. It is the
* caller's responsibility to zero out the password information after it is
* no longer needed.
* @return the password
*/
getPassword(): string;
/**
* Returns the user ID.
* @return the user ID.
*/
getUserID(): string;
/**
* Stores an attribute in this credentials instance.
* @param name a String specifying the name of the attribute
* @param value the Object to be stored
*/
setAttribute(name: String | string, value: unknown): void;
/**
* Returns the value of the named attribute as an Object, or
* null if no attribute of the given name exists.
* @param name a String specifying the name of the attribute
* @return an Object containing the value of the attribute, or
null if the attribute does not exist
*/
getAttribute(name: String | string): unknown;
/**
* Removes an attribute from this credentials instance.
* @param name a String specifying the name of the attribute to
remove
*/
removeAttribute(name: String | string): void;
/**
* Returns the names of the attributes available to this credentials
* instance. This method returns an empty array if the credentials instance
* has no attributes available to it.
* @return a string array containing the names of the stored attributes
*/
getAttributeNames(): string;
};