代码拉取完成,页面将自动刷新
package apinto_dashboard
type UserDetails interface {
// GetUsername Returns the username used to authenticate the user.
GetUsername()string
// GetAuthorities Returns the authorities granted to the user.
GetAuthorities()map[string]interface{}
// GetPassword Returns the password used to authenticate the user.
GetPassword()string
// IsAccountNonExpired Indicates whether the user's account has expired.
IsAccountNonExpired() bool
// IsAccountNonLocked Indicates whether the user is locked or unlocked.
IsAccountNonLocked() bool
// IsCredentialsNonExpired Indicates whether the user's credentials (password) has expired.
IsCredentialsNonExpired() bool
// IsEnabled Indicates whether the user is enabled or disabled.
IsEnabled() bool
}
type IUserDetailsService interface {
// LoadUserByUsername Locates the user based on the username.
LoadUserByUsername(username string) (UserDetails,error)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。