avalon
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
avalon
avalon-oauth2-authorization-server
/
io.github.lishangbu.avalon.oauth2.authorizationserver.util
/
OAuth2EndpointUtils
OAuth2Endpoint
Utils
object
OAuth2EndpointUtils
Members
Properties
ACCESS_
TOKEN_
REQUEST_
ERROR_
URI
Link copied to clipboard
const
val
ACCESS_TOKEN_REQUEST_ERROR_URI
:
String
访问令牌请求错误 URI
Functions
get
Form
Parameters
Link copied to clipboard
@
JvmStatic
fun
getFormParameters
(
request
:
HttpServletRequest
)
:
MultiValueMap
<
String
,
String
>
获取表单参数
get
Parameters
Link copied to clipboard
@
JvmStatic
fun
getParameters
(
request
:
HttpServletRequest
)
:
MultiValueMap
<
String
,
String
>
获取参数
matches
Pkce
Token
Request
Link copied to clipboard
@
JvmStatic
fun
matchesPkceTokenRequest
(
request
:
HttpServletRequest
)
:
Boolean
判断是否匹配PKCE 令牌请求
throw
Error
Link copied to clipboard
@
JvmStatic
fun
throwError
(
errorCode
:
String
,
parameterName
:
String
,
errorUri
:
String
)
:
Nothing
抛出错误