com.aetrion.flickr.util
Interface AuthStore

All Known Implementing Classes:
FileAuthStore

public interface AuthStore

Defines an interface for possibly persistent storage of token information.

Version:
$Id: AuthStore.java,v 1.2 2007/09/09 17:15:57 x-mago Exp $
Author:
Matthew MacKenzie

Method Summary
 void clear(java.lang.String nsid)
          Clear for a given NSID.
 void clearAll()
          Clear out the store.
 Auth retrieve(java.lang.String nsid)
          Retrieve Auth for a given NSID.
 Auth[] retrieveAll()
          Retrieve all Auth objects being stored.
 void store(Auth token)
          Store an Auth.
 

Method Detail

store

void store(Auth token)
           throws java.io.IOException
Store an Auth.

Parameters:
token - Auth object to be stored.
Throws:
java.io.IOException

retrieve

Auth retrieve(java.lang.String nsid)
Retrieve Auth for a given NSID.

Parameters:
nsid - NSID
Returns:
Auth

retrieveAll

Auth[] retrieveAll()
Retrieve all Auth objects being stored.

Returns:
Auth objects

clearAll

void clearAll()
Clear out the store.


clear

void clear(java.lang.String nsid)
Clear for a given NSID.

Parameters:
nsid -


Copyright (C) 2005-2008 Aetrion LLC. All Rights Reserved.