Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
6.0

E55513-02


oracle.ocsg.oauth2.store
Class AccessTokenStoreHelper

java.lang.Object
  extended byoracle.ocsg.oauth2.store.StoreHelper
      extended byoracle.ocsg.oauth2.store.AccessTokenStoreHelper


public class AccessTokenStoreHelper
extends StoreHelper

Constructor Summary
AccessTokenStoreHelper()
           

 

Method Summary
 int countByClientId(String clientId)
           
 int countByClientIdAndEndUser(String clientId, String endUserId)
           
 int countByEndUser(String endUserId)
           
 AccessToken getAccessToken(String token)
           
 Store getStore()
           
 List queryByClientId(String clientId, int offset, int size)
           
 List queryByEndUser(String endUserId, int offset, int size)
           
 List queryByEndUserId(String endUserId)
           
 List queryByEndUserIdAndClientId(String endUserId, String clientId)
           
 List queryByEndUserIdAndClientId(String clientId, String endUserId, int offset, int size)
           
 void removeByClientIdAccessToken(String clientId)
           
 void removeExpiredAccessToken()
           

 

Methods inherited from class oracle.ocsg.oauth2.store.StoreHelper
containsKey, getStore, getValue, put, putValue, removeValue

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AccessTokenStoreHelper

public AccessTokenStoreHelper()

Method Detail

countByClientId

public int countByClientId(String clientId)
                    throws StorageException
Throws:
StorageException

countByClientIdAndEndUser

public int countByClientIdAndEndUser(String clientId,
                                     String endUserId)
                              throws StorageException
Throws:
StorageException

countByEndUser

public int countByEndUser(String endUserId)
                   throws StorageException
Throws:
StorageException

getAccessToken

public AccessToken getAccessToken(String token)
                           throws StorageException
Throws:
StorageException

getStore

public Store getStore()
               throws StorageException
Specified by:
getStore in class StoreHelper
Throws:
StorageException

queryByClientId

public List queryByClientId(String clientId,
                            int offset,
                            int size)
                     throws StorageException
Throws:
StorageException

queryByEndUser

public List queryByEndUser(String endUserId,
                           int offset,
                           int size)
                    throws StorageException
Throws:
StorageException

queryByEndUserId

public List queryByEndUserId(String endUserId)
                      throws StorageException
Throws:
StorageException

queryByEndUserIdAndClientId

public List queryByEndUserIdAndClientId(String endUserId,
                                        String clientId)
                                 throws StorageException
Throws:
StorageException

queryByEndUserIdAndClientId

public List queryByEndUserIdAndClientId(String clientId,
                                        String endUserId,
                                        int offset,
                                        int size)
                                 throws StorageException
Throws:
StorageException

removeByClientIdAccessToken

public void removeByClientIdAccessToken(String clientId)

removeExpiredAccessToken

public void removeExpiredAccessToken()

Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
6.0

E55513-02


Copyright © 2008, 2015, Oracle and/or its affiliates. All rights reserved.