You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
422 B

package com.mydreamjob.auth;
import java.time.Instant;
/**
* 一次 Token 签发的结果(S02)。
*
* <p>{@code token} 为原始 JWT 原文,只在内存中短暂存在;调用方不得将其写入
* 数据库、日志、审计或错误响应。</p>
*/
public record IssuedToken(
String token,
String sessionId,
String tokenId,
Instant issuedAt,
Instant expiresAt) {
}