package com.yami.shop.security.api.service;

import com.yami.shop.common.exception.YamiShopBindException;
import com.yami.shop.security.comment.enums.App;
import com.yami.shop.security.comment.token.AuthenticationToken;
import org.springframework.security.core.userdetails.UserDetails;

import java.util.regex.Pattern;

/**
 * app登陆接口
 */
public interface AppLoginService {

    UserDetails loginAndGetUserDetails(AuthenticationToken authentication);

    App getApp();

}
