MineAuth
Toggle table of contents
VersionPlaceholder
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
MineAuth
core
/
party.morino.mineauth.core.web.router.auth.data
/
AuthorizedData
Authorized
Data
@
Serializable
data
class
AuthorizedData
(
val
clientId
:
String
,
val
redirectUri
:
String
,
val
scope
:
String
,
val
state
:
String
,
val
codeChallenge
:
String
,
val
codeChallengeMethod
:
String
=
"S256"
,
val
uniqueId
:
@
Serializable
(
with
=
UUIDSerializer::class
)
UUID
,
val
nonce
:
String
?
=
null
,
val
authTime
:
Long
=
System.currentTimeMillis()
)
認可コードに紐づくデータ ユーザーが認可した際に生成され、トークン交換時に使用される
Members
Constructors
Authorized
Data
Link copied to clipboard
constructor
(
clientId
:
String
,
redirectUri
:
String
,
scope
:
String
,
state
:
String
,
codeChallenge
:
String
,
codeChallengeMethod
:
String
=
"S256"
,
uniqueId
:
@
Serializable
(
with
=
UUIDSerializer::class
)
UUID
,
nonce
:
String
?
=
null
,
authTime
:
Long
=
System.currentTimeMillis()
)
Properties
auth
Time
Link copied to clipboard
val
authTime
:
Long
client
Id
Link copied to clipboard
val
clientId
:
String
code
Challenge
Link copied to clipboard
val
codeChallenge
:
String
code
Challenge
Method
Link copied to clipboard
val
codeChallengeMethod
:
String
nonce
Link copied to clipboard
val
nonce
:
String
?
redirect
Uri
Link copied to clipboard
val
redirectUri
:
String
scope
Link copied to clipboard
val
scope
:
String
state
Link copied to clipboard
val
state
:
String
unique
Id
Link copied to clipboard
val
uniqueId
:
@
Serializable
(
with
=
UUIDSerializer::class
)
UUID