.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package me.wypark.blogbackend.domain.auth
|
||||
|
||||
import org.springframework.security.core.GrantedAuthority
|
||||
import org.springframework.security.core.userdetails.User
|
||||
|
||||
class CustomUserDetails(
|
||||
val memberId: Long,
|
||||
val nickname: String,
|
||||
username: String,
|
||||
password: String,
|
||||
authorities: Collection<GrantedAuthority>
|
||||
) : User(username, password, authorities)
|
||||
Reference in New Issue
Block a user