@Override
    public boolean equals(@Nullable Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof OAuth1aToken)) {
            return false;
        }
        final OAuth1aToken that = (OAuth1aToken) o;

        // Do not short-circuit to make it hard to guess anything from timing.
        boolean equals = Objects.equals(realm, that.realm);
        equals &= consumerKey.equals(that.consumerKey);
        equals &= token.equals(that.token);
        equals &= signatureMethod.equals(that.signatureMethod);
        equals &= signature.equals(that.signature);
        equals &= timestamp.equals(that.timestamp);
        equals &= nonce.equals(that.nonce);
        equals &= version.equals(that.version);
        equals &= Objects.equals(additionals, that.additionals);
        return equals;
    }
Returns the string that is sent as the value of the {@link HttpHeaderNames#AUTHORIZATION} header.
core/src/main/java/com/linecorp/armeria/common/auth/OAuth1aToken.java