public class TokensFile extends Object
Constructor and Description |
---|
TokensFile() |
Modifier and Type | Method and Description |
---|---|
protected File |
getTokensFile() |
String |
getTokensFilePath() |
protected TargetInfos |
getTokensFromFile() |
void |
removeToken(URI target) |
org.springframework.security.oauth2.common.OAuth2AccessToken |
retrieveToken(URI target) |
void |
saveToken(URI target,
org.springframework.security.oauth2.common.OAuth2AccessToken token,
CloudInfo cloudInfo,
CloudSpace space) |
protected void |
saveTokensToFile(TargetInfos targetInfos) |
public org.springframework.security.oauth2.common.OAuth2AccessToken retrieveToken(URI target)
public void saveToken(URI target, org.springframework.security.oauth2.common.OAuth2AccessToken token, CloudInfo cloudInfo, CloudSpace space)
public void removeToken(URI target)
public String getTokensFilePath()
protected TargetInfos getTokensFromFile()
protected void saveTokensToFile(TargetInfos targetInfos)
protected File getTokensFile()
Copyright © 2014. All rights reserved.