pub struct PortableClaims {Show 14 fields
pub mechanism: PortableMechanism,
pub audience: AudienceId,
pub issuer: Principal,
pub key_binding_id: [u8; 32],
pub browser_public_key: [u8; 32],
pub account_subject: Principal,
pub device_slot: u8,
pub device_generation: u64,
pub login_started_at_ns: u64,
pub login_deadline_ns: u64,
pub issued_at_ns: u64,
pub admission_expires_at_ns: u64,
pub nonce: [u8; 16],
pub grants: Vec<DelegatedRoleGrant>,
}Expand description
Decoded signed material, not verified identity, enrollment or permission. Login windows survive renewal unchanged; admission expiry is distinct from both the absolute login deadline and the receiver’s session lease.
Fields§
§mechanism: PortableMechanismMechanism bound into the canonical signed claims.
audience: AudienceIdIntended network-qualified application audience.
issuer: PrincipalClaimed issuer, which must match protected receiver enrollment.
key_binding_id: [u8; 32]Exact identifier of the issuer key binding selected by protected policy.
browser_public_key: [u8; 32]Raw Ed25519 browser key whose self-authenticating Principal must be caller.
account_subject: PrincipalIssuer-asserted account identity, distinct from the browser ingress identity.
device_slot: u8Issuer-assigned bounded device slot, scoped by audience/issuer/account.
device_generation: u64Nonzero issuer-owned fence. Renewal retains it; replacement advances it.
login_started_at_ns: u64Original login start in nanoseconds; renewal must retain this value.
login_deadline_ns: u64Absolute login deadline in nanoseconds; renewal must not extend it.
issued_at_ns: u64This credential’s issuance time in nanoseconds.
admission_expires_at_ns: u64Exclusive admission deadline for this credential, not the session lease.
nonce: [u8; 16]Issuer-assigned identity for a distinct credential within this login. Exact issuance retries retain it. All-zero bytes are permitted; the full signed claims digest, rather than this field alone, identifies replay.
grants: Vec<DelegatedRoleGrant>Claimed role/scope grants, subject to canonical bounds and issuer authority.