equals

open operator override fun equals(other: Any?): Boolean

Equality is based on the token payload fields only (tokenType, expiresIn, accessToken, scope, refreshToken, idToken, deviceSecret, issuedTokenType).

id, configuration, and issuedAt are excluded because id is a storage key (not semantic identity), and configuration/issuedAt are context — two tokens with the same payload from different clients represent the same authorization grant.