class StatefulAccessToken extends StatefulToken implements AccessToken {

    @Override
    public String getClientId() {
        final Set<String> value = getParameter(CLIENT_ID);
        if (value != null && !value.isEmpty()) {
            return value.iterator().next();
        }
        return null;
    }

    public  StatefulAccessToken(JsonValue token);
    public  StatefulAccessToken(JsonValue token, String tokenName, String tokenId);
    public  StatefulAccessToken(String id, String authorizationCode, String resourceOwnerId, String clientId,
            String redirectUri, Set<String> scope, long expiryTime, RefreshToken refreshToken,
            String tokenName, String grantType, String nonce, String realm, String claims,
            String auditTrackingId);

}