SecurityTokenGenerator

class SecurityTokenGenerator(secretKey: String, accessTokenValidTime: Long, refreshTokenValidTime: Long) : TokenGenerator

Constructors

Link copied to clipboard
constructor(secretKey: String, accessTokenValidTime: Long, refreshTokenValidTime: Long)

Functions

Link copied to clipboard
open override fun convertToStringList(memberRoles: List<Roles>): List<String>
Link copied to clipboard
open override fun generateAccessToken(memberId: Long?, memberEmail: String?, memberRoles: List<Roles>, accessTokenValidTime: Long?): String
Link copied to clipboard
open override fun generateAuthToken(memberId: Long?, memberEmail: String?, memberRoles: List<Roles>): AuthToken
open override fun generateAuthToken(memberId: Long?, memberEmail: String?, memberRoles: List<Roles>, accessTokenValidTime: Long?, refreshTokenValidTime: Long?): AuthToken
Link copied to clipboard
open override fun generateRefreshToken(memberId: Long?, memberEmail: String?, memberRoles: List<Roles>, refreshTokenValidTime: Long?): String