return new DummySecurityToken(ownerId, viewerId, appUrl);
}
protected static OAuth2Store getDummyStore() throws Exception {
if (MockUtils.dummyStore == null) {
final OAuth2Cache cache = new InMemoryCache();
final OAuth2Persister persister = MockUtils.getDummyPersister();
final OAuth2Encrypter encrypter = MockUtils.getDummyEncrypter();
final BlobCrypter stateCrypter = MockUtils.getDummyStateCrypter();
MockUtils.dummyStore = MockUtils.getDummyStore(cache, persister, encrypter,
MockUtils.REDIRECT_URI, null, null, stateCrypter);