public class FileTokenCredentials extends Object implements TokenCredentials
Modifier and Type | Field and Description |
---|---|
protected static String |
TOKEN_PROPERTY |
Constructor and Description |
---|
FileTokenCredentials(String credentialsLocation) |
Modifier and Type | Method and Description |
---|---|
protected static String |
getPropertyOrThrow(Properties properties,
String propertyKey,
String fileName) |
String |
getToken() |
protected static Properties |
loadProperties(String credentialsLocation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticate
protected static final String TOKEN_PROPERTY
public String getToken()
getToken
in interface TokenCredentials
protected static Properties loadProperties(String credentialsLocation)
protected static String getPropertyOrThrow(Properties properties, String propertyKey, String fileName)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.