class OpenIdConnectTokenCreationState {

    @Override
    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (other instanceof OpenIdConnectTokenCreationState) {
            OpenIdConnectTokenCreationState otherState = (OpenIdConnectTokenCreationState)other;
            return Objects.equal(nonce, otherState.nonce) && (allowAccess == otherState.allowAccess);
        }
        return false;
    }

    private  OpenIdConnectTokenCreationState(OpenIdConnectTokenCreationStateBuilder builder);

}