com.minlessika.membership.integration.Membership Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of membership-integration Show documentation
Show all versions of membership-integration Show documentation
It's a library to help developers to integration membership services to another project.
package com.minlessika.membership.integration;
import java.util.UUID;
public interface Membership {
Profile profile(UUID id, String module);
User user(UUID id);
User userByEmail(String email);
Iterable profiles(String module);
int compareProfile(Profile source, Profile target);
String generateToken(User user);
boolean validateToken(String token);
}