Class BasicMlflowHostCreds

java.lang.Object
org.mlflow.tracking.creds.BasicMlflowHostCreds
All Implemented Interfaces:
MlflowHostCreds, MlflowHostCredsProvider

public class BasicMlflowHostCreds
extends java.lang.Object
implements MlflowHostCreds, MlflowHostCredsProvider
A static hostname and optional credentials to talk to an MLflow server.
  • Constructor Summary

    Constructors 
    Constructor Description
    BasicMlflowHostCreds​(java.lang.String host)  
    BasicMlflowHostCreds​(java.lang.String host, java.lang.String token)  
    BasicMlflowHostCreds​(java.lang.String host, java.lang.String username, java.lang.String password)  
    BasicMlflowHostCreds​(java.lang.String host, java.lang.String username, java.lang.String password, java.lang.String token, boolean shouldIgnoreTlsVerification)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getHost()
    Hostname (e.g., http://localhost:5000) to MLflow server.
    MlflowHostCreds getHostCreds()
    Returns a valid MlflowHostCreds.
    java.lang.String getPassword()
    Password to use with Basic authentication when talking to server.
    java.lang.String getToken()
    Token to use with Bearer authentication when talking to server.
    java.lang.String getUsername()
    Username to use with Basic authentication when talking to server.
    void refresh()
    Refreshes the underlying credentials.
    boolean shouldIgnoreTlsVerification()
    If true, we will not verify the server's hostname or TLS certificate.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait