use of org.xdi.oxauth.model.common.MemcachedGrant in project oxAuth by GluuFederation.
the class MemcacheManual method testGrant.
private static MemcachedGrant testGrant() {
MemcachedGrant grant = new MemcachedGrant();
grant.setAcrValues("basic");
grant.setAuthenticationTime(new Date());
grant.setAuthorizationCodeString(UUID.randomUUID().toString());
grant.setClient(testClient());
grant.setGrantId(UUID.randomUUID().toString());
grant.setNonce(UUID.randomUUID().toString());
grant.setScopes(Sets.newHashSet("openid"));
grant.setUser(testUser());
return grant;
}
Aggregations