in Utils/AzureAuthenticationFilter/src/main/java/com/microsoft/azure/oidc/token/impl/SimpleToken.java [148:202]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
SimpleToken other = (SimpleToken) obj;
if (algorithm == null) {
if (other.algorithm != null)
return false;
} else if (!algorithm.equals(other.algorithm))
return false;
if (audience == null) {
if (other.audience != null)
return false;
} else if (!audience.equals(other.audience))
return false;
if (expiration == null) {
if (other.expiration != null)
return false;
} else if (!expiration.equals(other.expiration))
return false;
if (issuedAt == null) {
if (other.issuedAt != null)
return false;
} else if (!issuedAt.equals(other.issuedAt))
return false;
if (issuer == null) {
if (other.issuer != null)
return false;
} else if (!issuer.equals(other.issuer))
return false;
if (keyName == null) {
if (other.keyName != null)
return false;
} else if (!keyName.equals(other.keyName))
return false;
if (notBefore == null) {
if (other.notBefore != null)
return false;
} else if (!notBefore.equals(other.notBefore))
return false;
if (payload == null) {
if (other.payload != null)
return false;
} else if (!payload.equals(other.payload))
return false;
if (signature == null) {
if (other.signature != null)
return false;
} else if (!signature.equals(other.signature))
return false;
return true;
}