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, waitauthenticateprotected static final String TOKEN_PROPERTY
public String getToken()
getToken in interface TokenCredentialsprotected static Properties loadProperties(String credentialsLocation)
protected static String getPropertyOrThrow(Properties properties, String propertyKey, String fileName)
Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.