All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.refinitiv.proxy.authentication.ICredentials Maven / Gradle / Ivy

/*|-----------------------------------------------------------------------------
 *|            This source code is provided under the Apache 2.0 license      --
 *|  and is provided AS IS with no warranty or guarantee of fit for purpose.  --
 *|                See the project's LICENSE.md for details.                  --
 *|           Copyright (C) 2019-2022 Refinitiv. All rights reserved.         --
 *|-----------------------------------------------------------------------------
 */

package com.refinitiv.proxy.authentication;

public interface ICredentials
{
    /* Sets the specified credential
     * 
     * name is the name of the credential to set
     * value is the value of the credential (may be null)
     */
    void set(String name, String value);

    /* Returns the specified credential, which may be null (naturally, or if it was not set)
     * 
     * name is the name of the credential to get
     */
    String get(String name);

    /* Returns true if the specified credential is set
     * 
     * name is the name of the credential
     */
    boolean isSet(String name);
	
    Object clone() throws CloneNotSupportedException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy