Class ECauthTokenGenerator
java.lang.Object
ecmwf.common.ecaccess.ECauthTokenManager
ecmwf.common.ecaccess.ECauthTokenGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ECauthTokenGenerator
Gets the single instance of ECauthTokenGenerator.requestECauthToken
(String user) Request ecauth token.Methods inherited from class ecmwf.common.ecaccess.ECauthTokenManager
getECauthToken
-
Constructor Details
-
ECauthTokenGenerator
public ECauthTokenGenerator()
-
-
Method Details
-
getInstance
Gets the single instance of ECauthTokenGenerator.- Returns:
- single instance of ECauthTokenGenerator
-
requestECauthToken
Request ecauth token. Request ECauth token.- Specified by:
requestECauthToken
in classECauthTokenManager
- Parameters:
user
- the user- Returns:
- the ecauth token
- Throws:
IOException
- Signals that an I/O exception has occurred.
-