public static String gae_users_create_login_url( Env env, String destinationUrl, @Optional String authDomain, @Optional String federatedIdentity, @Optional Value attributesRequest) { Set<String> attributeSet = null; if (!attributesRequest.isDefault()) { attributeSet = new HashSet<String>(); ArrayValue array = attributesRequest.toArrayValue(env); for (Map.Entry<Value, Value> entrySet : array.entrySet()) { attributeSet.add(entrySet.getValue().toString()); } } return GaeUserService.createLoginURL( destinationUrl, authDomain, federatedIdentity, attributeSet); }
public Object marshal(Env env, Value value, Class expectedClass) { return value.toArrayValue(env); }