Class ConnectorCredentialsProvider (0.1.5)

public class ConnectorCredentialsProvider implements CredentialsProvider

Inheritance

java.lang.Object > ConnectorCredentialsProvider

Implements

CredentialsProvider

Constructors

ConnectorCredentialsProvider()

public ConnectorCredentialsProvider()

Methods

getCredentials()

public Credentials getCredentials()
Returns
TypeDescription
com.google.auth.Credentials
Exceptions
TypeDescription
IOException

loadFromFile(String credentialPath)

public void loadFromFile(String credentialPath)
Parameter
NameDescription
credentialPathString
Exceptions
TypeDescription
IOException

loadJson(String credentialsJson)

public void loadJson(String credentialsJson)
Parameter
NameDescription
credentialsJsonString
Exceptions
TypeDescription
IOException