package com.dexels.oauth.api; import java.util.Set; /** * A Token is a (random) code that is linked to a user and a client and expires * at a certain timestamp. */ public interface Token { public long getExpireTimestamp(); public boolean isExpired(); public String getUsername(); public String getCode(); public String getClientId(); public Set getScopes(); }