@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; AuthorizationRequest other = (AuthorizationRequest) obj; if (approvalParameters == null) { if (other.approvalParameters != null) return false; } else if (!approvalParameters.equals(other.approvalParameters)) return false; if (responseTypes == null) { if (other.responseTypes != null) return false; } else if (!responseTypes.equals(other.responseTypes)) return false; if (state == null) { if (other.state != null) return false; } else if (!state.equals(other.state)) return false; return true; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((approvalParameters == null) ? 0 : approvalParameters.hashCode()); result = prime * result + ((responseTypes == null) ? 0 : responseTypes.hashCode()); result = prime * result + ((state == null) ? 0 : state.hashCode()); return result; }
public void setClientId(String clientId) { super.setClientId(clientId); }
/** * Set the scope value. If the collection contains only a single scope * value, this method will parse that value into a collection using * {@link OAuth2Utils#parseParameterList}. * * @see TokenRequest#setScope * * @param scope */ public void setScope(Collection<String> scope) { super.setScope(scope); }
/** * Set the Request Parameters on this authorization request, which represent the original request parameters and * should never be changed during processing. The map passed in is wrapped in an unmodifiable map instance. * * @see AuthorizationRequest#setRequestParameters * * @param requestParameters */ public void setRequestParameters(Map<String, String> requestParameters) { super.setRequestParameters(requestParameters); }
/** * Set the scope value. If the collection contains only a single scope value, this method will parse that value into * a collection using {@link OAuth2Utils#parseParameterList}. * * @see AuthorizationRequest#setScope * * @param scope */ public void setScope(Collection<String> scope) { super.setScope(scope); }
/** * Set the Request Parameters on this authorization request, which represent * the original request parameters and should never be changed during * processing. The map passed in is wrapped in an unmodifiable map instance. * * @see TokenRequest#setRequestParameters * * @param requestParameters */ public void setRequestParameters(Map<String, String> requestParameters) { super.setRequestParameters(requestParameters); }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + (approved ? 1231 : 1237); result = prime * result + ((authorities == null) ? 0 : authorities.hashCode()); result = prime * result + ((extensions == null) ? 0 : extensions.hashCode()); result = prime * result + ((redirectUri == null) ? 0 : redirectUri.hashCode()); result = prime * result + ((resourceIds == null) ? 0 : resourceIds.hashCode()); result = prime * result + ((responseTypes == null) ? 0 : responseTypes.hashCode()); return result; }
/** * Set the scope value. If the collection contains only a single scope * value, this method will parse that value into a collection using * {@link OAuth2Utils#parseParameterList}. * * @see TokenRequest#setScope * * @param scope */ public void setScope(Collection<String> scope) { super.setScope(scope); }
/** * Set the Request Parameters on this authorization request, which represent the original request parameters and * should never be changed during processing. The map passed in is wrapped in an unmodifiable map instance. * * @see AuthorizationRequest#setRequestParameters * * @param requestParameters */ public void setRequestParameters(Map<String, String> requestParameters) { super.setRequestParameters(requestParameters); }
public void setClientId(String clientId) { super.setClientId(clientId); }
if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass())
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((approvalParameters == null) ? 0 : approvalParameters.hashCode()); result = prime * result + ((responseTypes == null) ? 0 : responseTypes.hashCode()); result = prime * result + ((state == null) ? 0 : state.hashCode()); return result; }
/** * Set the scope value. If the collection contains only a single scope value, this method will parse that value into * a collection using {@link OAuth2Utils#parseParameterList}. * * @see AuthorizationRequest#setScope * * @param scope */ public void setScope(Collection<String> scope) { super.setScope(scope); }
/** * Set the Request Parameters on this authorization request, which represent * the original request parameters and should never be changed during * processing. The map passed in is wrapped in an unmodifiable map instance. * * @see TokenRequest#setRequestParameters * * @param requestParameters */ public void setRequestParameters(Map<String, String> requestParameters) { super.setRequestParameters(requestParameters); }
public void setClientId(String clientId) { super.setClientId(clientId); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; AuthorizationRequest other = (AuthorizationRequest) obj; if (approvalParameters == null) { if (other.approvalParameters != null) return false; } else if (!approvalParameters.equals(other.approvalParameters)) return false; if (responseTypes == null) { if (other.responseTypes != null) return false; } else if (!responseTypes.equals(other.responseTypes)) return false; if (state == null) { if (other.state != null) return false; } else if (!state.equals(other.state)) return false; return true; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + (approved ? 1231 : 1237); result = prime * result + ((authorities == null) ? 0 : authorities.hashCode()); result = prime * result + ((extensions == null) ? 0 : extensions.hashCode()); result = prime * result + ((redirectUri == null) ? 0 : redirectUri.hashCode()); result = prime * result + ((resourceIds == null) ? 0 : resourceIds.hashCode()); result = prime * result + ((responseTypes == null) ? 0 : responseTypes.hashCode()); return result; }
public void setClientId(String clientId) { super.setClientId(clientId); }
if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass())