|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.ext.oauth.UserStore
public abstract class UserStore
The user store interface represents the entry point where user requests are created, searched and removed. It is an excellent indicator where to modify when implementing another persistence model.
Constructor Summary | |
---|---|
UserStore()
|
Method Summary | |
---|---|
abstract boolean |
containsUser(String id)
Indicates of the OAuth server contains a given user. |
abstract AuthenticatedUser |
createUser(String id)
Creates a user and return it. |
abstract AuthenticatedUser |
findUser(String id)
Retrieves a given user according to the given identifier. |
abstract void |
revokeUser(String id)
Revoke/delete a user according to its id. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserStore()
Method Detail |
---|
public abstract boolean containsUser(String id)
id
- The identifier of the user.
public abstract AuthenticatedUser createUser(String id)
id
- The user id.
AuthenticatedUser
.public abstract AuthenticatedUser findUser(String id)
id
- The user's identifier.
public abstract void revokeUser(String id)
id
- The identifier of the user to revoke/delete.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |