Class ClaimClaims
- Namespace
- KernLab.Claim.Protocol
- Assembly
- KernLab.Claim.Protocol.dll
Claims 字段名常量——家族身份契约 v0(token-contract-v0 §2)claims 最小集。 未注册字段消费方必须忽略(前向兼容纪律,JWT 生态惯例)。
public static class ClaimClaims
- Inheritance
-
ClaimClaims
- Inherited Members
Fields
Aud
目标消费方(OAuth2 client_id;节点面 = 产品名如 "kernlab.cohort")。
public const string Aud = "aud"
Field Value
Env
环境(空串 = 缺省环境;对齐 env 段)。
public const string Env = "env"
Field Value
Exp
过期时间(Unix 秒)。
public const string Exp = "exp"
Field Value
Iat
签发时间(Unix 秒)。
public const string Iat = "iat"
Field Value
Iss
签发者(Claim 集群 Id;本地档 = "local")。
public const string Iss = "iss"
Field Value
Jti
唯一 Id(审计关联 / 撤销锚点)。
public const string Jti = "jti"
Field Value
Nbf
生效时间(Unix 秒)。
public const string Nbf = "nbf"
Field Value
Rol
角色(Claim 管理面用,消费方不解释)。
public const string Rol = "rol"
Field Value
Scp
scope 集合(空格分隔,OAuth2 惯例)。
public const string Scp = "scp"
Field Value
Sub
主体 Id(用户名 / 服务账号名 / 节点名)。
public const string Sub = "sub"
Field Value
Ten
租户(空串 = 缺省租户;对齐 Cohort 键布局 tenant 段)。
public const string Ten = "ten"
Field Value
Typ
token 类型:TokenTypes 三值。
public const string Typ = "typ"