public class InMemoryApprovalStore extends Object implements ApprovalStore
Constructor and Description |
---|
InMemoryApprovalStore() |
Modifier and Type | Method and Description |
---|---|
boolean |
addApprovals(Collection<Approval> approvals) |
void |
clear() |
Collection<Approval> |
getApprovals(String userId,
String clientId) |
boolean |
revokeApprovals(Collection<Approval> approvals) |
public boolean addApprovals(Collection<Approval> approvals)
addApprovals
in interface ApprovalStore
public boolean revokeApprovals(Collection<Approval> approvals)
revokeApprovals
in interface ApprovalStore
public Collection<Approval> getApprovals(String userId, String clientId)
getApprovals
in interface ApprovalStore
public void clear()
Copyright © 2019. All rights reserved.