public class OfBizConsumerTokenStore extends Object implements com.atlassian.oauth.consumer.ConsumerTokenStore
Modifier and Type | Class and Description |
---|---|
static class |
OfBizConsumerTokenStore.Columns |
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_SET_KEY |
static String |
TABLE |
Constructor and Description |
---|
OfBizConsumerTokenStore(OfBizDelegator delegator,
JiraPropertySetFactory propertySetFactory) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.oauth.consumer.ConsumerToken |
get(com.atlassian.oauth.consumer.ConsumerTokenStore.Key key) |
protected com.atlassian.oauth.consumer.ConsumerService |
getConsumerService() |
Map<com.atlassian.oauth.consumer.ConsumerTokenStore.Key,com.atlassian.oauth.consumer.ConsumerToken> |
getConsumerTokens(String consumerKey) |
com.atlassian.oauth.consumer.ConsumerToken |
put(com.atlassian.oauth.consumer.ConsumerTokenStore.Key key,
com.atlassian.oauth.consumer.ConsumerToken token) |
void |
remove(com.atlassian.oauth.consumer.ConsumerTokenStore.Key key) |
void |
removeTokensForConsumer(String consumerKey) |
public static final String TABLE
public static final String PROPERTY_SET_KEY
public OfBizConsumerTokenStore(OfBizDelegator delegator, JiraPropertySetFactory propertySetFactory)
public com.atlassian.oauth.consumer.ConsumerToken get(com.atlassian.oauth.consumer.ConsumerTokenStore.Key key)
get
in interface com.atlassian.oauth.consumer.ConsumerTokenStore
public Map<com.atlassian.oauth.consumer.ConsumerTokenStore.Key,com.atlassian.oauth.consumer.ConsumerToken> getConsumerTokens(String consumerKey)
getConsumerTokens
in interface com.atlassian.oauth.consumer.ConsumerTokenStore
public com.atlassian.oauth.consumer.ConsumerToken put(com.atlassian.oauth.consumer.ConsumerTokenStore.Key key, com.atlassian.oauth.consumer.ConsumerToken token)
put
in interface com.atlassian.oauth.consumer.ConsumerTokenStore
public void remove(com.atlassian.oauth.consumer.ConsumerTokenStore.Key key)
remove
in interface com.atlassian.oauth.consumer.ConsumerTokenStore
public void removeTokensForConsumer(String consumerKey)
removeTokensForConsumer
in interface com.atlassian.oauth.consumer.ConsumerTokenStore
protected com.atlassian.oauth.consumer.ConsumerService getConsumerService()
Copyright © 2002-2019 Atlassian. All Rights Reserved.