@Component public class JwtTokenUtil extends Object
| Constructor and Description |
|---|
JwtTokenUtil(JwtProperties jwtProperties) |
| Modifier and Type | Method and Description |
|---|---|
static String |
getToken()
从请求头或者请求参数中
|
static String |
getToken(javax.servlet.http.HttpServletRequest request)
从请求头或者请求参数中
|
static String |
getTokenName()
获取token名称
|
public JwtTokenUtil(JwtProperties jwtProperties)
Copyright © 2019. All rights reserved.