com.healthy.common.security.authentication.mobile.MobileUserDetails Maven / Gradle / Ivy
package com.healthy.common.security.authentication.mobile;
import org.springframework.security.core.userdetails.UserDetails;
/**
* Provides core user information.
*
* @author xiaomingzhang
*/
public interface MobileUserDetails extends UserDetails {
/**
* The user's identity at the provider.
* Might be same as {@link #getUsername()} if users are identified by username
*
* @return user's mobile used to assign connections
*/
String getUserMobile();
}